/** @generated */
 protected void createDefaultEditPolicies() {
   super.createDefaultEditPolicies();
   installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new ComrelTextSelectionEditPolicy());
   installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new LabelDirectEditPolicy());
   installEditPolicy(
       EditPolicy.PRIMARY_DRAG_ROLE, new CompositeRefactoringEditPart.NodeLabelDragPolicy());
 }
 /** @generated */
 protected void createDefaultEditPolicies() {
   super.createDefaultEditPolicies();
   installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new UMLTextSelectionEditPolicy());
   installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new LabelDirectEditPolicy());
   installEditPolicy(
       EditPolicy.PRIMARY_DRAG_ROLE, new ActivityDiagramEditPart.NodeLabelDragPolicy());
 }
 /** @generated */
 protected void createDefaultEditPolicies() {
   super.createDefaultEditPolicies();
   installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new ParallelJTextSelectionEditPolicy());
   installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new LabelDirectEditPolicy());
   installEditPolicy(
       EditPolicy.PRIMARY_DRAG_ROLE, new SpecificationEditPart.NodeLabelDragPolicy());
 }
  /** @generated */
  @Override
  protected void createDefaultEditPolicies() {
    super.createDefaultEditPolicies();
    installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new LabelDirectEditPolicy());
    installEditPolicy(
        EditPolicy.PRIMARY_DRAG_ROLE,
        new NonResizableEditPolicy() {

          @Override
          protected List createSelectionHandles() {
            List handles = new ArrayList();
            NonResizableHandleKit.addMoveHandle((GraphicalEditPart) getHost(), handles);
            return handles;
          }

          @Override
          public Command getCommand(Request request) {
            return null;
          }

          @Override
          public boolean understandsRequest(Request request) {
            return false;
          }
        });
  }
 /** @generated */
 protected void createDefaultEditPolicies() {
   super.createDefaultEditPolicies();
   installEditPolicy(
       EditPolicyRoles.SEMANTIC_ROLE, new NestedInterfaceForComponentItemSemanticEditPolicy());
   installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE, new UMLTextNonResizableEditPolicy());
   installEditPolicy(EditPolicy.COMPONENT_ROLE, new ListItemComponentEditPolicy());
   installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new LabelDirectEditPolicy());
 }
 /** @generated */
 protected void createDefaultEditPolicies() {
   super.createDefaultEditPolicies();
   installEditPolicy(
       EditPolicy.SELECTION_FEEDBACK_ROLE,
       new WebApp.diagram.edit.policies.WebAppTextSelectionEditPolicy());
   installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new LabelDirectEditPolicy());
   installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE, new DefaultNodeLabelDragPolicy());
 }
Exemplo n.º 7
0
 /** @generated */
 protected void createDefaultEditPolicies() {
   super.createDefaultEditPolicies();
   installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new UMLTextSelectionEditPolicy());
   installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new LabelDirectEditPolicy());
   installEditPolicy(
       EditPolicy.PRIMARY_DRAG_ROLE, new CompositeStructureDiagramEditPart.NodeLabelDragPolicy());
   installEditPolicy(
       IMaskManagedLabelEditPolicy.MASK_MANAGED_LABEL_EDIT_POLICY, new PropertyLabelEditPolicy());
 }
 /** @generated */
 @Override
 protected void createDefaultEditPolicies() {
   super.createDefaultEditPolicies();
   installEditPolicy(EditPolicyRoles.SEMANTIC_ROLE, new ExitStateBehaviorItemSemanticEditPolicy());
   installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE, new UMLTextNonResizableEditPolicy());
   installEditPolicy(EditPolicy.COMPONENT_ROLE, new ListItemComponentEditPolicy());
   installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new LabelDirectEditPolicy());
   installEditPolicy(
       QualifiedNameDisplayEditPolicy.QUALIFIED_NAME_POLICY, new QualifiedNameDisplayEditPolicy());
 }
  /** @generated */
  protected void createDefaultEditPolicies() {
    super.createDefaultEditPolicies();
    installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new ControlTextSelectionEditPolicy());
    installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new LabelDirectEditPolicy());
    installEditPolicy(
        EditPolicy.PRIMARY_DRAG_ROLE,
        new NonResizableEditPolicy() {

          protected List createSelectionHandles() {
            List handles = new ArrayList();
            NonResizableHandleKit.addMoveHandle((GraphicalEditPart) getHost(), handles);
            ((MoveHandle) handles.get(0)).setBorder(null);
            return handles;
          }

          public Command getCommand(Request request) {
            return null;
          }

          public boolean understandsRequest(Request request) {
            return false;
          }
        });
  }