🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #19668

Re: Question:[Eclipse]How to refresh views in anot...

#19668
From: Java Enthusiast
Date: Wed, 31 Dec 2003 13:05
23 lines
1914 bytes
In my opinion, you (the user)can only see one perspective at one moment

which consists of several views. So the update can occur when the perspectives

switch.

 �� �� took.bbs@bbs.sjtu.edu.cn (������˹...) �Ĵ������ᵽ: ��
: [Q] How to refresh views in another perspective?
: Suppose I open two perspectives in one workbench window. Now my codes does 
: some configurations in one perspective, and I want to refresh the views 
: shown in the other perspective. However, I just can't find APIs to get 
: those views so as to refresh them. (I've mainly searched in IWorkbench, 
: IWorkbenchWindow, and IWorkbenchPage)
: My current method is showing the other perspective by using 
: PlatformUI.getWorkbench().showPerspective(), and then getting views by 
: IWorkbenchPage.findView(). But this is not a good way as users may not want 
: >>  .................<����ʡ��>............


--
gjyalpha ��˭��������gjyalpha ��

�� ��Դ:��Ʈ��ˮ�Ƽ� Freecity.dhs.org��[FROM: gjyalpha]
Technical Details
Message-ID: <4A59i0$AGS@freecity.dhs.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,GB
X-Google-Thread: f6cb0,cab2e2751e47de0e
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-12-31 05:03:33 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!Freecity
From: gjyalpha.bbs@freecity.dhs.org (Java Enthusiast)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: Question:[Eclipse]How to refresh views in anot...
Date: 31 Dec 2003 13:05:55 GMT
Organization: Ʈ��ˮ�Ƽ�
Message-ID: <4A59i0$AGS@freecity.dhs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1072875840.A