Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Re: dynamically add part to partStack
Re: dynamically add part to partStack [message #988181] Wed, 28 November 2012 18:24
Sopot Cela is currently offline Sopot CelaFriend
Messages: 597
Registered: December 2010
Senior Member

Aljoscha Steffens wrote on Wed, 28 November 2012 19:22
> Hi,
> how can I achieve sth like the eclipse GUI? If the user loads a file, it will be placed in an editor/partstack as a tab.
> I just found how to create a new part and add it to the window.
> www. vogella.com/articles/EclipseRCP/article.html#modeldynamics_example2



Take a look at https://github.com/semanticsoft/vaaclipse/blob/master/org.semanticsoft.vaaclipse.demo.contacts/src/org/semanticsoft/vaaclipse/demo/handlers/NewContactHandler.java

This adds a part to a part stack after finding it with an ID. It's used for the vaadin renderer but the model API is widget agnostic.
Previous Topic:dynamically add part to partStack
Next Topic:How to @Inject a service into a called object
Goto Forum:
  


Current Time: Wed Nov 26 03:11:48 GMT 2014

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

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