Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » dynamically add part to partStack
dynamically add part to partStack [message #988151] Wed, 28 November 2012 18:22 Go to next message
Aljoscha Steffens is currently offline Aljoscha SteffensFriend
Messages: 302
Registered: November 2012
Senior Member
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
Re: dynamically add part to partStack [message #988157 is a reply to message #988151] Wed, 28 November 2012 18:24 Go to previous message
Eclipse UserFriend
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:Re: dynamically add part to partStack
Goto Forum:
  


Current Time: Thu Apr 18 18:03:24 GMT 2024

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

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

Back to the top