Examples of CopyAction


Examples of org.mokai.action.CopyAction

    action.execute(new Message());
  }

  @Test(expectedExceptions=IllegalArgumentException.class)
  public void shouldThrowExceptionIfToNotSet() throws Exception {
    CopyAction action = new CopyAction();
    action.setTo("prop-2");

    action.execute(new Message());
  }
View Full Code Here

Examples of org.neo4j.neoclipse.property.action.CopyAction

     * Create the main structure of the menu.
     */
    private MenuManager createMainMenu( final Composite parent )
    {
        MenuManager menuMgr = new MenuManager();
        copyAction = new CopyAction( parent, this );
        menuMgr.add( copyAction );
        pasteAction = new PasteAction( parent, this );
        pasteAction.setEnabled( false );
        menuMgr.add( pasteAction );
        deleteAction = new DeleteAction( parent, this );
View Full Code Here

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

  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.CopyAction

    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");

    i0_open.setIcon(ImageCreator.IMG_OPENINBROWSER);
View Full Code Here

Examples of org.pentaho.reporting.designer.core.actions.global.CopyAction

  public static final String LEAD_SELECTION_PROPERTY = "leadSelection";

  public StructureTreePanel(final AbstractReportTree.RenderType renderType)
  {
    cutAction = new CutAction();
    copyAction = new CopyAction();
    pasteAction = new PasteAction();

    if (renderType == AbstractReportTree.RenderType.REPORT)
    {
      tree = new LayoutReportTree();
View Full Code Here

Examples of org.pentaho.reporting.designer.core.actions.global.CopyAction

  public static final String LEAD_SELECTION_PROPERTY = "leadSelection";

  public StructureTreePanel(final ReportTree.RENDER_TYPE renderType)
  {
    cutAction = new CutAction();
    copyAction = new CopyAction();
    pasteAction = new PasteAction();

    tree = new ReportTree(renderType);
    tree.getSelectionModel().addTreeSelectionListener(new TreeLeadSelectionListener());
    tree.addMouseListener(new ReportTreeContextMenuHandler());
View Full Code Here

Examples of org.xhtmlrenderer.swing.SelectionHighlighter.CopyAction


        // Copy selection
        // install an action to copy selected test; must be "installed" around
        // the selection highlighter (caret) we just created
        CopyAction copyAction = new SelectionHighlighter.CopyAction();
        copyAction.install(caret);

        actionPanel.add(new JButton(copyAction), BorderLayout.SOUTH);
        add(mainPanel);
       
        pack();
View Full Code Here

Examples of slash.navigation.converter.gui.actions.CopyAction

        ClipboardInteractor clipboardInteractor = new ClipboardInteractor();
        clipboardInteractor.watchClipboard();
        actionManager.register("undo", new UndoAction());
        actionManager.register("redo", new RedoAction());
        actionManager.register("copy", new CopyAction(getPositionsView(), getPositionsModel(), clipboardInteractor));
        actionManager.register("cut", new CutAction(getPositionsView(), getPositionsModel(), clipboardInteractor));
        actionManager.register("delete", new DeleteAction(getPositionsView(), getPositionsModel()));
        actionManager.register("new-position", new AddPositionAction(getPositionsView(), getPositionsModel(), getPositionsSelectionModel()));
        actionManager.register("new-file", new NewFileAction(this));
        actionManager.register("open", new OpenAction(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.