Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How to new Part Dynamically
How to new Part Dynamically [message #567615] Sat, 16 January 2010 13:32
Walter Mising name is currently offline Walter Mising name
Messages: 126
Registered: July 2009
Senior Member
Hi,

When a menu item is clicked, how to create a new Part programmatically.
I have the following in my xmi file

PartSashContainer
PartStack
Part - "WatchList"
Sash
PartStack
Part - "Chart"

During the run time when the user clicks "NewWatchList" ( DirectToolItem )
I would like to create and show a new Part along with "WatchList" Part. The
result similar to the following entry in xmi file.

PartSashContainer
PartStack
Part - "WatchList"
Part - "NewWatchList"
Sash
PartStack
Part - "Chart"

I am clue less on how to achieve this. FYI, I am using M3.

Best Regards,
Walter G. Prabhakar.
Previous Topic:Using the e4 dependency injection implementation outside e4
Next Topic:Where is the ShowView-dialog in the e4 photo demo?
Goto Forum:
  


Current Time: Thu Oct 23 00:02:01 GMT 2014

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

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