In 'createPartControl(Composite parent)' I try to get the size of the DiagramEditPart:
DiagramEditPart diagramEditPart = this.getDiagramEditPart();
diagramEditPart .getFigure().getSize();
Returns the size of the bounding box of all EditParts in the DiagramEditor.
The Viewport size (diagramEditPart.getViewport()) is not set yet. PreferredSize is the same like 'diagramEditPart .getFigure().getSize()'
Any suggestions?
Thank You!]]>