How to catch the event of perspective switch??? [message #437669] |
Fri, 30 September 2005 19:25 |
Eclipse User |
|
|
|
Originally posted by: huhaitao.gmail.com
Hi all,
As I need to load corresponding menu and toolbar when perspective
switching, how can I catch up the event of switching?? Could someone
give me some sample code to perform that??
Thanks.
Ryan
|
|
|
|
Re: How to catch the event of perspective switch??? [message #437700 is a reply to message #437695] |
Mon, 03 October 2005 02:42 |
Eclipse User |
|
|
|
Originally posted by: huhaitao.gmail.com
Zugi wrote:
> Try this:
>
> MyPlugin.getDefault().getWorkbench().getActiveWorkbenchWindo w().addPerspectiveListener(*Anonymous
> class of Listener);
>
> Stefan
>
> Ryan Hu schrieb:
>
>> Hi all,
>>
>> As I need to load corresponding menu and toolbar when perspective
>> switching, how can I catch up the event of switching?? Could someone
>> give me some sample code to perform that??
>>
>> Thanks.
>>
>> Ryan
Thank you Zugi!!
|
|
|
|
Powered by
FUDForum. Page generated in 0.03050 seconds