Examples of CopyAction


Examples of ca.nengo.ui.actions.CopyAction

    super.constructMenu(menu);

    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;
View Full Code Here

Examples of com.onpositive.mapper.actions.CopyAction

      undoAction= new UndoActionHandler(getSite(), undoContext);
      undoAction.setActionDefinitionId(IWorkbenchCommandConstants.EDIT_UNDO);
      redoAction= new RedoActionHandler(getSite(), undoContext);
      redoAction.setActionDefinitionId(IWorkbenchCommandConstants.EDIT_REDO);
     
      copyAction = new CopyAction(this);
      copyAction.setActionDefinitionId(IWorkbenchCommandConstants.EDIT_COPY);
      addPartPropertyListener((IPropertyChangeListener) copyAction);
      copyAction.setEnabled(false);
      pasteAction = new PasteAction(this);
      pasteAction.setActionDefinitionId(IWorkbenchCommandConstants.EDIT_PASTE);
View Full Code Here

Examples of de.ailis.xadrian.actions.CopyAction

        fileMenu.addSeparator();
        fileMenu.add(this.exitAction);

        // Create the 'Edit' menu
        final JMenu editMenu = I18N.createMenu(menuBar, "edit");
        editMenu.add(new CopyAction(this));
        editMenu.add(this.selectAllAction);
        editMenu.addSeparator();
        editMenu.add(this.preferencesAction);

        // Create the 'Complex' menu
View Full Code Here

Examples of de.grey.ownsync.action.CopyAction

    }

    private FileAction getCopyNewerAction(FileState fileStateA, FileState fileStateB)
    {
        if (fileStateA.isNewer(fileStateB))
            return new CopyAction(fileStateA, folderStateA, fileStateB, folderStateB, CopyAction.FROM_A_TO_B);
        if (fileStateA.isOlder(fileStateB))
            return new CopyAction(fileStateA, folderStateA, fileStateB, folderStateB, CopyAction.FROM_B_TO_A);
       
        return null;
    }
View Full Code Here

Examples of de.grey.ownsync.action.CopyAction

    }

    private FileAction getCopyNewerAction(FileState fileStateA, FileState fileStateB)
    {
        if (fileStateA.isNewer(fileStateB))
            return new CopyAction(fileStateA, folderStateA, fileStateB, folderStateB, CopyAction.FROM_A_TO_B);
        if (fileStateA.isOlder(fileStateB))
            return new CopyAction(fileStateA, folderStateA, fileStateB, folderStateB, CopyAction.FROM_B_TO_A);
       
        return null;
    }
View Full Code Here

Examples of es.iiia.sgi.actions.CopyAction

    saveAction.setImageDescriptor(ImageDescriptor
        .createFromImage(PlatformUI.getWorkbench().getSharedImages()
            .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.CopyAction

        jTextAreaConsole.setText("");
      }

    });

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

    jButtonCompilar.addActionListener(new ActionListener() {
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.actions.registry.browser.CopyAction

                actionImport.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(ImportAction.ID);
                    }
                });
                CopyAction actionCopy = new CopyAction();
                actionCopy.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(CopyAction.ID);
                    }
                });
                ViewAction actionView = new ViewAction();
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.actions.registry.browser.CopyAction

                actionImport.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(ImportAction.ID);
                    }
                });
                CopyAction actionCopy = new CopyAction();
                actionCopy.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(CopyAction.ID);
                    }
                });
                ViewAction actionView = new ViewAction();
View Full Code Here

Examples of org.apache.airavata.xbaya.ui.actions.registry.browser.CopyAction

                actionImport.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(ImportAction.ID);
                    }
                });
                CopyAction actionCopy = new CopyAction();
                actionCopy.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent arg0) {
                        triggerNodeAction(CopyAction.ID);
                    }
                });
                ViewAction actionView = new ViewAction();
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.