protected void applyOwnResults(ProcessEditPart diagram) {
}
public void applyResults(ElementEditPart elementEditPart) {
Node n = (Node) partToNodesMap.get(elementEditPart);
ElementFigure elementFigure = (ElementFigure) elementEditPart.getFigure();
Rectangle bounds = new Rectangle(n.x, n.y, elementFigure.getPreferredSize().width,
elementFigure.getPreferredSize().height);
elementFigure.setBounds(bounds);
for (int i = 0; i < elementEditPart.getSourceConnections().size(); i++) {
ElementConnectionEditPart connectionPart = (ElementConnectionEditPart) elementEditPart.getSourceConnections().get(i);
applyResults(connectionPart);
}
}