MarqueeDragTracker tracker = (MarqueeDragTracker) super.getDragTracker(req);
tracker.setMarqueeBehavior(MarqueeSelectionTool.BEHAVIOR_NODES_AND_CONNECTIONS);
return tracker;
}
});
getGraphicalViewer().setEditPartFactory(new EditPartFactory() {
public EditPart createEditPart(EditPart context, Object object) {
if (!(object instanceof GraphElement))
return null;
GraphElement element = (GraphElement) object;
EditPart editPart = element.getTypeDefinition().createGraphicalEditPart(element);