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 08:32
Walter Missing name is currently offline Walter Missing name
Messages: 119
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: Wed May 22 03:35:36 EDT 2013

Powered by FUDForum. Page generated in 0.03045 seconds