Package org.eclipse.sapphire.ui.swt.gef.policies

Examples of org.eclipse.sapphire.ui.swt.gef.policies.DiagramNodeEditPolicy


      return getPresentation().getFigure();
  }

  @Override
  protected void createEditPolicies() {
    installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new DiagramNodeEditPolicy());
    installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new NodeLabelDirectEditPolicy());
    installEditPolicy(EditPolicy.COMPONENT_ROLE, new NodeEditPolicy());
    installEditPolicy(EditPolicy.LAYOUT_ROLE, new NodeLayoutEditPolicy((DiagramNodeModel)getModel()));
  }
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.ui.swt.gef.policies.DiagramNodeEditPolicy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.