Skip to main content


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 nameFriend
Messages: 128
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 Apr 25 06:12:22 GMT 2024

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

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

Back to the top