Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » View creation at application startup
View creation at application startup [message #335154] Tue, 24 March 2009 06:34 Go to next message
Eclipse UserFriend
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 07:05 Go to previous message
Eclipse UserFriend
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: Sat May 03 10:46:52 EDT 2025

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

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

Back to the top