Examples of SelectionAction


Examples of org.eclipse.gef.ui.actions.SelectionAction

  /**
   * creates all selectionActions
   */
  @SuppressWarnings("unchecked")
  private void addSpecificChildActions() {
    SelectionAction addSpecificChildAction = new AddSectionFormAsChildAction(
        this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddStaffGroupFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddStaffDefFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddStaffFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddLayerFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddChordGroupFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddBeamGroupFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddRestFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddSpaceFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddAppFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddReadingFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddNoteFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddMRestFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddMeasureFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddDynamFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddFermataFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddSlurFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddTieFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new CloneFormAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
    addSpecificChildAction = new AddEndingFormAsChildAction(this);
    addSpecificChildAction.setSelectionProvider(getGraphicalViewer());
    getActionRegistry().registerAction(addSpecificChildAction);
    getSelectionActions().add((addSpecificChildAction).getId());
  }
View Full Code Here

Examples of org.jitterbit.ui.selection.SelectionAction

            tree.selectNextRow();
        }
    }

    public SelectionAction getFunctionAction(Receiver<Function> handler, Icon icon, String tooltip, boolean def) {
        SelectionAction a = new FunctionAction(handler, icon, tooltip);
        if (def) {
            selSource.setDefaultAction(a);
        }
        return a;
    }
View Full Code Here

Examples of org.jitterbit.ui.selection.SelectionAction

        TreeModelBuilder builder = new TreeModelBuilder(provider);
        return builder.buildModel();
    }

    private void installDefaultAction() {
        SelectionAction action = getEffectiveDefaultAction();
        selectionSource.setDefaultAction(action);
    }
View Full Code Here

Examples of org.jitterbit.ui.selection.SelectionAction

    public void requestFocus() {
        tree.requestFocus();
    }

    public SelectionAction getEntityAction(Receiver<IntegrationEntity> handler, Icon icon, String tooltip, boolean def) {
        SelectionAction a = new EntityAction(handler, icon, tooltip);
        if (def) {
            selSource.setDefaultAction(a);
        }
        return a;
    }
View Full Code Here

Examples of org.jitterbit.ui.selection.SelectionAction

    }

    private JComponent createControlPanel() {
        Grid buttons = Grid.oneRow(10);
        Action addAction = new AddNewAttributeAction();
        SelectionAction deleteAction = new DeleteAttributesAction();
        deleteAction.setSelectionSource(table);
        buttons.addAll(addAction, deleteAction);
        return InvisiblePanel.newPanel(buttons);
    }
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.