I do not want to use an editPart or have any connection with the model. An other solution that would work for me is to draw a figure that is out of bounds of its parent
Asked
Active
Viewed 48 times
1 Answers
1
I haven't tried this, but you could get the GraphicalViewer
of the editor, pull out the LightweightSystem
and draw directly over it.
Since GraphicalViewer
does not expose this directly (check GraphicalViewerImpl
where it is protected) you would need to create your own implementation that does expose it.

vainolo
- 6,907
- 4
- 24
- 47
-
I create the figure on a new layer whick seems to do what I was looking for, thanks – Fergal Fitz Sep 29 '16 at 18:47
-
Great to hear. Would be nice if you can set the answer as correct then – vainolo Oct 01 '16 at 17:21