Package org.apache.directory.ldapstudio.browser.ui.actions

Examples of org.apache.directory.ldapstudio.browser.ui.actions.RenameAction


     * @param enableRenameAction true to enable rename action
     */
    public OpenDefaultEditorAction( TreeViewer viewer, EntryEditorActionProxy bestValueEditorProxy, boolean enableRenameAction )
    {
        this.bestValueEditorProxy = bestValueEditorProxy;
        this.renameProxy = enableRenameAction ? new EntryEditorActionProxy( viewer, new RenameAction() ) : null;
    }
View Full Code Here


        browserActionMap.put( pasteAction, new BrowserViewActionProxy( viewer, new PasteAction() ) );
        browserActionMap.put( copyAction, new BrowserViewActionProxy( viewer, new CopyAction(
            ( BrowserActionProxy ) browserActionMap.get( pasteAction ) ) ) );
        browserActionMap.put( deleteAction, new BrowserViewActionProxy( viewer, new DeleteAction() ) );
        browserActionMap.put( moveAction, new BrowserViewActionProxy( viewer, new MoveAction() ) );
        browserActionMap.put( renameAction, new BrowserViewActionProxy( viewer, new RenameAction() ) );

        browserActionMap.put( copyDnAction, new BrowserViewActionProxy( viewer, new CopyDnAction() ) );
        browserActionMap.put( copyUrlAction, new BrowserViewActionProxy( viewer, new CopyUrlAction() ) );

        browserActionMap.put( copyEntryAsLdifAction, new BrowserViewActionProxy( viewer, new CopyEntryAsLdifAction(
View Full Code Here

        this.connectionActionMap.put( copyConnectionAction, new ConnectionViewActionProxy( viewer, new CopyAction(
            ( BrowserActionProxy ) this.connectionActionMap.get( pasteConnectionAction ) ) ) );
        this.connectionActionMap.put( deleteConnectionAction,
            new ConnectionViewActionProxy( viewer, new DeleteAction() ) );
        this.connectionActionMap.put( renameConnectionAction,
            new ConnectionViewActionProxy( viewer, new RenameAction() ) );
        this.connectionActionMap.put( propertyDialogAction, new ConnectionViewActionProxy( viewer,
            new PropertiesAction() ) );

    }
View Full Code Here

        this.browserActionMap.put( pasteAction, new BrowserViewActionProxy( viewer, new PasteAction() ) );
        this.browserActionMap.put( copyAction, new BrowserViewActionProxy( viewer, new CopyAction(
            ( BrowserActionProxy ) this.browserActionMap.get( pasteAction ) ) ) );
        this.browserActionMap.put( deleteAction, new BrowserViewActionProxy( viewer, new DeleteAction() ) );
        this.browserActionMap.put( moveAction, new BrowserViewActionProxy( viewer, new MoveAction() ) );
        this.browserActionMap.put( renameAction, new BrowserViewActionProxy( viewer, new RenameAction() ) );

        this.browserActionMap.put( copyDnAction, new BrowserViewActionProxy( viewer, new CopyDnAction() ) );
        this.browserActionMap.put( copyUrlAction, new BrowserViewActionProxy( viewer, new CopyUrlAction() ) );

        this.browserActionMap.put( copyEntryAsLdifAction, new BrowserViewActionProxy( viewer,
View Full Code Here

    }


    public void enableRenameEntryAction()
    {
        this.renameProxy = new EntryEditorActionProxy( valueEditorProxy.viewer, new RenameAction() );
    }
View Full Code Here

            new CloseConnectionAction() ) );
        connectionActionMap.put( pasteConnectionAction, new ConnectionViewActionProxy( viewer, new PasteAction() ) );
        connectionActionMap.put( copyConnectionAction, new ConnectionViewActionProxy( viewer, new CopyAction(
            ( BrowserActionProxy ) connectionActionMap.get( pasteConnectionAction ) ) ) );
        connectionActionMap.put( deleteConnectionAction, new ConnectionViewActionProxy( viewer, new DeleteAction() ) );
        connectionActionMap.put( renameConnectionAction, new ConnectionViewActionProxy( viewer, new RenameAction() ) );
        connectionActionMap.put( propertyDialogAction, new ConnectionViewActionProxy( viewer, new PropertiesAction() ) );
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.ui.actions.RenameAction

Copyright © 2018 www.massapicom. 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.