|
|
|
|
Re: open eclipse perspective in eclipse from command line [message #899951 is a reply to message #899361] |
Fri, 03 August 2012 03:43  |
Eclipse User |
|
|
|
Definitively agreed with Josehp. Make use of "-perspetive" place further
burden on you as you must manage eclipse(yourProduct).ini and product
definitions up-to-date with default perspective. Programmatic approach
also enables to have complex logic deciding about perspective to open.
Libor
On 07/31/2012 04:36 PM, Joseph Carroll wrote:
> What about supplying a default perspective in the WorkbenchAdvisor?
>
> WorkbenchAdvisor.getInitialWindowPerspectiveId() {
> return "your.perspective.id";
> }
>
>
> If you are looking to restore the last perspective try:
>
> WorkbenchAdvisor.initialize(IWorkbenchConfigurer configurer) {
> super.initialize(configurer);
> configurer.setSaveAndRestore(true);
> }
>
>
> These would be better and more generally accepted ways of loading your
> perspective.
>
> JD
|
|
|
Powered by
FUDForum. Page generated in 0.04910 seconds