Examples of CutAction


Examples of ca.nengo.ui.actions.CutAction

    Collection<UINeoNode> arrayOfMe = new ArrayList<UINeoNode>();
    arrayOfMe.add(this);
   
    menu.addAction(new CopyAction("Copy", arrayOfMe));
    menu.addAction(new CutAction("Cut", arrayOfMe));

    SimulationMode mode = ((UINeoNode) arrayOfMe.toArray()[0]).getModel().getMode();

    int selected = -1;
    if (mode == SimulationMode.DEFAULT) {
View Full Code Here

Examples of ca.nengo.ui.actions.CutAction

                if (obj instanceof ModelObject) {
                    selectedModelObjects.add((ModelObject)obj);
                }
            }

            cutAction = new CutAction("Cut", selectedArray);
            copyAction = new CopyAction("Copy", selectedArray);
            removeAction = new RemoveModelAction("Remove", selectedModelObjects);
        } else {
            cutAction = new DisabledAction("Cut", "No object selected");
            copyAction = new DisabledAction("Copy", "No object selected");
View Full Code Here

Examples of de.ailis.xadrian.actions.CutAction

        super();
        this.textPane = textPane;
        textPane.addCaretListener(this);
        if (textPane.isEditable())
        {
            add(new CutAction(this));
            add(new CopyAction(this));
            add(new PasteAction(this));
            addSeparator();
            add(new SelectAllAction(this));
        }
View Full Code Here

Examples of es.iiia.sgi.actions.CutAction

            .getImage(ISharedImages.IMG_ETOOL_SAVE_EDIT)));
    saveActionExec = new SaveAction(page.getWorkbenchWindow());
    deleteAction = new DeleteAction(page.getWorkbenchWindow());
    copyAction = new CopyAction(page.getWorkbenchWindow());
    pasteAction = new PasteAction(page.getWorkbenchWindow());
    cutAction = new CutAction(page.getWorkbenchWindow());

    super.init(bars, page);
  }
View Full Code Here

Examples of javax.swing.text.DefaultEditorKit.CutAction

    });

    jButtonCopiar.addActionListener(new CopyAction());
    jButtonColar.addActionListener(new PasteAction());
    jButtonRecortar.addActionListener(new CutAction());

    jButtonCompilar.addActionListener(new ActionListener() {

      @Override
      public void actionPerformed(ActionEvent arg0) {
View Full Code Here

Examples of org.apache.cayenne.modeler.action.CutAction

        // search action registered
        registerAction(new FindAction(application));
       
        registerAction(new ShowLogConsoleAction(application)).setAlwaysOn(true);
       
        registerAction(new CutAction(application));
        registerAction(new CutAttributeAction(application));
        registerAction(new CutRelationshipAction(application));
        registerAction(new CutProcedureParameterAction(application));
        registerAction(new CopyAction(application));
        registerAction(new CopyAttributeAction(application));
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.commands.CutAction

    action.setId(IWorkbenchCommandConstants.EDIT_COPY);
    getSite().getKeyBindingService().registerAction(action);
    this.getSelectionActions().add(action.getId());
    registry.registerAction(action);

    action = new CutAction(this);
    action.setImageDescriptor(sharedImages
        .getImageDescriptor(ISharedImages.IMG_TOOL_CUT));
    action.setDisabledImageDescriptor(sharedImages
        .getImageDescriptor(ISharedImages.IMG_TOOL_CUT_DISABLED));
    action.setActionDefinitionId(IWorkbenchCommandConstants.EDIT_CUT);
View Full Code Here

Examples of org.objectstyle.wolips.eomodeler.actions.CutAction

  private PasteAction _pasteAction;

  private DeleteAction _deleteAction;

  public EOModelClipboardHandler() {
    _cutAction = new CutAction();
    _copyAction = new CopyAction();
    _pasteAction = new PasteAction();
    _deleteAction = new DeleteAction();
  }
View Full Code Here

Examples of org.owasp.jbrofuzz.ui.actions.CutAction

      boolean copy, boolean paste, boolean selectAll, boolean properties) {

    final JPopupMenu popmenu = new JPopupMenu();

    final JMenuItem i0_open = new JMenuItem("Open in Browser");
    final JMenuItem i1_cut = new JMenuItem(new CutAction());
    final JMenuItem i2_copy = new JMenuItem(new CopyAction());
    final JMenuItem i3_paste = new JMenuItem(new PasteAction());
    final JMenuItem i4_select = new JMenuItem(new SelectAllAction());
    final JMenuItem i5_props = new JMenuItem("Properties");
View Full Code Here

Examples of org.owasp.jbrofuzz.ui.actions.CutAction

    this.add(options);
    this.add(new JMenuHelp(this));

    // Edit

    final JMenuItem cut = new JMenuItem(new CutAction());
    final JMenuItem copy = new JMenuItem(new CopyAction());
    final JMenuItem paste = new JMenuItem(new PasteAction());
    final JMenuItem selectAll = new JMenuItem(new SelectAllAction());

    cut.setAccelerator(KeyStroke.getKeyStroke('X', Toolkit
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.