| Draw Diagram after startup [message #900279] |
Mon, 06 August 2012 06:53  |
Thomas Zöchbauer Messages: 10 Registered: August 2012 |
Junior Member |
|
|
Hello,
I have a rcp which contains a graphiti editor plugin (yee ).
Now when i open the editor in my rcp, i want that my diagram draws 2 shapes on the right and left border
(1.
x: 1
y: 1
h: 100
w: 10
(2.
x: 989
y: 1
h: 100
w: 10
))
Where can i hook in to draw this shapes programmatically on my diagram when it is instantiated?
Can i use somewhere outside something similar like addIfPossible() or using an addContext?
thanks
[Updated on: Mon, 06 August 2012 08:15] Report message to a moderator
|
|
|
|
|
|
| Re: Draw Diagram after startup [message #985135 is a reply to message #903076] |
Thu, 15 November 2012 02:16  |
Saniya Mirajkar Messages: 30 Registered: August 2012 |
Member |
|
|
Hi Thomas,
I am struggling to do something similar that you have mentioned with Graphiti 0.9.1.
Just few questions around your example:
1. Which version of Graphiti you are using.For me addIfPossible() method is giving some errors with version 0.9.1.This worked in version 0.8.2.
2. I suppose "FbsFactory" is your own class and the diagramBO object that you are passing the set of BuisnessObjects.
Correct me if wrong.
|
|
|
Powered by
FUDForum. Page generated in 0.07858 seconds