Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » View creation at application startup
View creation at application startup [message #335154] Tue, 24 March 2009 10:34 Go to next message
vikas  is currently offline vikas Friend
Messages: 10
Registered: July 2009
Junior Member
Hi
In eclipse when a outline view is opened first time it displays content
for currently open file or selected resources from any view. How it is
implemented ? (Outline view displays content when it is created).
Is there any way to initialize all views when application is started. I
am using Eclipse-LazyStart: true in MANIFEST.MF file but it does not
activate or create my view early.
Is there any other workaround for creating all views as soon as
application is started. And how view creation is done in eclipse?
Thanks in advance
Regards
Vikas
Re: View creation at application startup [message #335179 is a reply to message #335154] Wed, 25 March 2009 11:05 Go to previous message
vikas  is currently offline vikas Friend
Messages: 10
Registered: July 2009
Junior Member
Hi
A workaround to this view creation is:
PlatformUI.getWorkbench().getActiveWorkbenchWindow().
getSelectionService().getSelection(viewID);
This call can be made from any plug in.
If a view is present in perspective than it will be initialized. (It
will not be opened or bringTotop if you have stack relationship view).
Previous Topic:OSGI / SPI - sharing 3rd party JARs between plugins
Next Topic:Resizing code assist pop-ups - Ubuntu
Goto Forum:
  


Current Time: Tue Nov 12 22:25:11 GMT 2024

Powered by FUDForum. Page generated in 0.03278 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top