Linking Domain Models to Diagram [message #642862] |
Fri, 03 December 2010 04:19 |
Murthy Bhat Messages: 159 Registered: July 2009 |
Senior Member |
|
|
Hello,
Following the Graphiti tutorial, I was able to create a diagram editor for adding a class and connection between classes. However I am trying out a couple of modifications to be done to the editor :
I have to assign/link a root element from the domain model as the parent to the main diagram. I tried changing the editing domain in the "CreateDiagramWizard" from the example, but without success. [I also tried out defining a custom editor extending the graphiti diagram editor and overriding the setInput() method]
Also I wanted a step in feature like in a workflow diagram having a sub-workflow within. [I guess I have to override the performRequest method from the respective edit part, but in that case I will have to override all of the GEF parts like the editpartfactory,edit parts, children, connection, etc]
I am stuck at this point for sometime now and could use some help. Could someone please help me out here. Thanks in advance for help
Regards,
Murthy
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02830 seconds