Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to programmatically create new hierarchical elements and corresponding views
How to programmatically create new hierarchical elements and corresponding views [message #501047] Mon, 30 November 2009 19:34
Jerome Correnoz is currently offline Jerome CorrenozFriend
Messages: 80
Registered: July 2009
Member
Hi all,

1) I would like to programmatically create elements and corresponding views. The newly created elements have to be created with some other values than default ones (e.g. passed in parameters from an action)

Example: create an element A with a specific value for one of its parameter.

How to create programmatically this new element and corresponding views?

2) The elements are hierarchic: they are composed of other elements: i.e. An element A contains an element B, and in the diagram, the figure representing B is in the compartment of A.

Is there a way to create programmatically the hierarchy of elements and the associated hierarchy of views ?

Thanks by advance for your help,
Jerome
Previous Topic:Icons in Creation Tools
Next Topic:Diagram partitioning -- Changes in one sub-diagram cause changes in another sub-diagram!?
Goto Forum:
  


Current Time: Sun Apr 11 20:01:50 GMT 2021

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

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

Back to the top