🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Question:[Eclipse]How to refresh views i...

#18715
From: ��������
Date: Thu, 05 Feb 2004 12:36
30 lines
2384 bytes
�Ҿ��ÿ�������һ��
IWorkbenchPage page ��IWorkbench.getActiveWindow().getActivePage();
Ȼ������page.findPerspective()���������������
�����Ҳ�֪����û��getActivePerspective()���������
Ӧ����û�аɡ�


�� �� took (������˹...) �Ĵ������ᵽ: ��
yes, but how can I be notified when the perspective switches? I should do 
refreshing at that time...

�� �� gjyalpha.bbs@freecity.dhs.org (Java Enthusiast) �Ĵ������ᵽ: ��
: 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)
: .................������ʡ�ԣ�

--

           �������������������������Ȼ�ǿ�������......

--
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 202.112.139.109]
Technical Details
Message-ID: <4AXF2P$AiN@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!fr.ip.ndsoftware.net!proxad.net!proxad.net!newshosting.com!nx02.iad01.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,49f382274e319842,start
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2004-02-05 04:38:49 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!fr.ip.ndsoftware.net!proxad.net!proxad.net!newshosting.com!nx02.iad01.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU
From: FranklinLee.bbs@bbs.sjtu.edu.cn (��������)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: Question:[Eclipse]How to refresh views i...
Date: 05 Feb 2004 12:36:05 GMT
Organization: ��ˮ˼Դ
Message-ID: <4AXF2P$AiN@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1075984249.A
Lines: 30