0

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

Fergal Fitz
  • 226
  • 1
  • 4
  • 12

1 Answers1

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