Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Extending create-action of node from palette.
Extending create-action of node from palette. [message #51686] Wed, 20 September 2006 06:06
Eclipse UserFriend
Hi @all,

I've got GMF-generated workflow-editor with a flyoutpalette and
different files for model and diagram. There are special nodes and
connections that can be dropped from the palette to the editor-diagram.

I want to extend the action that is executed after dropping a node into
the diagram.
I know that the corresponding action is created by
YxzItemSemanticEditPolicy.createYYCommand(request).

I want to keep the diagram and the xml-file in the content-system
synchronized.
Does anyone know how to extend this command so that my node is created
and the save-diagram-action is executed immediately so that the changed
diagram is synchronized with the xml-file? I think the changes are
copied to the modelfile only after the save-diagram-action is executed,
right?

Next Task to do after having synchronized the two files:
I want to add the new generated node only once in the diagramfile but in
two places in the modelfile, not only in one. Does anyone know how to
make this possible?

Any help appreciated
Greets Alex
Previous Topic:style properties not accepted
Next Topic:GMF roadmap question
Goto Forum:
  


Current Time: Thu May 08 01:19:39 EDT 2025

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

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

Back to the top