|Re: few questions [message #227293 is a reply to message #227223]
||Thu, 23 April 2009 20:08
| Ali Koudri
Registered: July 2009
Thx for the fast answer Esteban,|
changing the ID works (although we could imagine having an ID different
from the project's name). But the second tip doesn't work. Actually,
since I call my wizard on a model element, I don't call this method at
all. My problem is when i set the content of a diagram providing a model
element, the diagram is initialized with all edit parts corresponding to
the chidren of that model element. All I want is an empty diagram and to
have the ability to drag and drop only children I want to display.
Maybe I am not so clear, am I ?
Esteban DUGUEPEROUX a écrit :
> Hi exquisitus,
> To change plugin generated plugin id you can change ID property of your
> gmfgen on Gen Plugin node.
> About elements contained in your diagram at startup look at
> XXXDiagramEditorUtil.createInitialModel() .
> exquisitus a écrit :
>> I have few questions about gmf code generation:
>> Is it possible to customize the gmfgen model to choose the name of the
>> generated plugin project ? It seems that I can only choose the
>> packages base name.
>> I am currently building several views for one model, sharing the same
>> editing domain. Everything works fine but when I create a new diagram,
>> it is automatically populated with elements contained at the root
>> element, is there any way to prevent it ?
Powered by FUDForum
. Page generated in 0.02167 seconds