Examples of registerAction()


Examples of org.eclipse.gef.ui.actions.ActionRegistry.registerAction()

        registry.registerAction(action);
        getSelectionActions().add(action.getId());

        action = new AlignmentAction((IWorkbenchPart) this,
                PositionConstants.RIGHT);
        registry.registerAction(action);
        getSelectionActions().add(action.getId());

        action = new AlignmentAction((IWorkbenchPart) this,
                PositionConstants.TOP);
        registry.registerAction(action);
View Full Code Here

Examples of org.eclipse.gef.ui.actions.ActionRegistry.registerAction()

        registry.registerAction(action);
        getSelectionActions().add(action.getId());

        action = new AlignmentAction((IWorkbenchPart) this,
                PositionConstants.TOP);
        registry.registerAction(action);
        getSelectionActions().add(action.getId());

        action = new AlignmentAction((IWorkbenchPart) this,
                PositionConstants.MIDDLE);
        registry.registerAction(action);
View Full Code Here

Examples of org.eclipse.gef.ui.actions.ActionRegistry.registerAction()

        registry.registerAction(action);
        getSelectionActions().add(action.getId());

        action = new AlignmentAction((IWorkbenchPart) this,
                PositionConstants.MIDDLE);
        registry.registerAction(action);
        getSelectionActions().add(action.getId());

        action = new AlignmentAction((IWorkbenchPart) this,
                PositionConstants.BOTTOM);
        registry.registerAction(action);
View Full Code Here

Examples of org.eclipse.gef.ui.actions.ActionRegistry.registerAction()

        registry.registerAction(action);
        getSelectionActions().add(action.getId());

        action = new AlignmentAction((IWorkbenchPart) this,
                PositionConstants.BOTTOM);
        registry.registerAction(action);
        getSelectionActions().add(action.getId());
    }

    public void commandStackChanged(EventObject event) {
        if (isDirty()) {
View Full Code Here

Examples of org.eclipse.gef.ui.actions.ActionRegistry.registerAction()

        ActionRegistry registry = getActionRegistry();

        Collection<BoxAction> actions = PrintingPlugin.getBoxExtensionActions(this);

        for( IAction action : actions ) {
            registry.registerAction(action);
            getSelectionActions().add(action.getId());
        }

    }
View Full Code Here

Examples of org.eclipse.gef.ui.actions.ActionRegistry.registerAction()

  public void createActions() {
    ActionRegistry registry = getActionRegistry();
    IAction action;

    action = new UndoAction(this);
    registry.registerAction(action);
    getStackActions().add(action.getId());

    action = new RedoAction(this);
    registry.registerAction(action);
    getStackActions().add(action.getId());
View Full Code Here

Examples of org.eclipse.gef.ui.actions.ActionRegistry.registerAction()

    action = new UndoAction(this);
    registry.registerAction(action);
    getStackActions().add(action.getId());

    action = new RedoAction(this);
    registry.registerAction(action);
    getStackActions().add(action.getId());

    action = new SelectAllAction(this) {
      {
        /*
 
View Full Code Here

Examples of org.eclipse.gef.ui.actions.ActionRegistry.registerAction()

         */
        setHoverImageDescriptor(SharedImages.DESC_MARQUEE_TOOL_16);
        setImageDescriptor(SharedImages.DESC_MARQUEE_TOOL_16);
      }
    };
    registry.registerAction(action);

    action = new SXEDeleteAction(this);
    registry.registerAction(action);
    getSelectionActions().add(action.getId());

View Full Code Here

Examples of org.eclipse.gef.ui.actions.ActionRegistry.registerAction()

      }
    };
    registry.registerAction(action);

    action = new SXEDeleteAction(this);
    registry.registerAction(action);
    getSelectionActions().add(action.getId());

    action = new SaveAction(this);
    registry.registerAction(action);
    getPropertyActions().add(action.getId());
View Full Code Here

Examples of org.eclipse.gef.ui.actions.ActionRegistry.registerAction()

    action = new SXEDeleteAction(this);
    registry.registerAction(action);
    getSelectionActions().add(action.getId());

    action = new SaveAction(this);
    registry.registerAction(action);
    getPropertyActions().add(action.getId());

    registry.registerAction(new PrintAction(this));

    action = new CopyRecordAction(this);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.