Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow To Define A Startup Perspective For My Plugin
https://www.eclipse.org/forums/index.php/mv/msg/110315/337004/#msg_337004
Originally posted by: runzhou.li.gmail.com
Hi,
I want to have my own customized perspective to be launched together with my
plugin, how can this be done?
Thank you in advance :)
--
Runzhou Li]]>2009-07-20T18:58:27-00:00Re: How To Define A Startup Perspective For My Plugin
https://www.eclipse.org/forums/index.php/mv/msg/110315/337007/#msg_337007
> Hi,
>
> I want to have my own customized perspective to be launched together with my
> plugin, how can this be done?
>
> Thank you in advance :)
>
> --
> Runzhou Li
>
>
Declare a perspectiv extension. If you create the RCP Mail application,
and look at the plugin.xml and the generated Perspective.java, you'll
see how it's done.
Felix]]>Felix Dorner2009-07-20T20:03:11-00:00Re: How To Define A Startup Perspective For My Plugin
https://www.eclipse.org/forums/index.php/mv/msg/110315/337008/#msg_337008
Originally posted by: runzhou.li.gmail.com
Thank you so much Felix, I'm going to try this out :)
"Felix Dorner" <felix_do@web.de> wrote in message
news:h42ii0$8ck$1@build.eclipse.org...
> Runzhou Li wrote:
>> Hi,
>>
>> I want to have my own customized perspective to be launched together with
>> my plugin, how can this be done?
>>
>> Thank you in advance :)
>>
>> --
>> Runzhou Li
>
> Declare a perspectiv extension. If you create the RCP Mail application,
> and look at the plugin.xml and the generated Perspective.java, you'll see
> how it's done.
>
> Then just call:
>
> PlatformUI.getWorkbench().showPerspective(perspectiveId, window)
>
>
> Felix]]>2009-07-20T21:09:21-00:00Re: How To Define A Startup Perspective For My Plugin
https://www.eclipse.org/forums/index.php/mv/msg/110315/337020/#msg_337020
Originally posted by: runzhou.li.gmail.com
Unfortunately it failed to do so if the perspective is not opened
previously, i.e. if I only have J2EE perspective opened and wish to use
PlatformUI.getWorkbench().showPerspective(perspectiveId, window) to show
Java perspective, then it fails; only if I have both perspectives opened but
the Java is not activated could allow me to use this method to switch the
focus to Java perspective.
Please help :)
"Felix Dorner" <felix_do@web.de> wrote in message
news:h42ii0$8ck$1@build.eclipse.org...
> Runzhou Li wrote:
>> Hi,
>>
>> I want to have my own customized perspective to be launched together with
>> my plugin, how can this be done?
>>
>> Thank you in advance :)
>>
>> --
>> Runzhou Li
>
> Declare a perspectiv extension. If you create the RCP Mail application,
> and look at the plugin.xml and the generated Perspective.java, you'll see
> how it's done.
>
> Then just call:
>
> PlatformUI.getWorkbench().showPerspective(perspectiveId, window)
>
>
> Felix]]>2009-07-21T16:05:07-00:00