Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » How to new Part Dynamically
How to new Part Dynamically [message #567615] Sat, 16 January 2010 08:32
Eclipse UserFriend
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: Fri Jul 04 23:07:12 EDT 2025

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

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

Back to the top