Package org.apache.directory.ldapstudio.browser.ui.widgets.entryeditor

Examples of org.apache.directory.ldapstudio.browser.ui.widgets.entryeditor.OpenDefaultEditorAction


        super( entryEditor.getMainWidget(), entryEditor.getConfiguration() );
        TreeViewer viewer = entryEditor.getMainWidget().getViewer();

        // create OpenDefaultEditorAction with enabled rename action flag
        openDefaultValueEditorActionProxy.dispose();
        openDefaultValueEditorActionProxy = new EntryEditorActionProxy( viewer, new OpenDefaultEditorAction( viewer,
            openBestValueEditorActionProxy, true ) );

        showOperationalAttributesAction = new ShowOperationalAttributesAction();
        openEntryEditorPreferencePage = new OpenEntryEditorPreferencePageAction();
        collapseAllAction = new CollapseAllAction( viewer );
View Full Code Here


            // start editing if there is an empty value
            if ( editValue != null )
            {
                mainWidget.getViewer().setSelection( new StructuredSelection( editValue ), true );
                OpenDefaultEditorAction openDefaultEditorAction = actionGroup.getOpenDefaultEditorAction();
                if ( openDefaultEditorAction.isEnabled() )
                {
                    openDefaultEditorAction.run();
                }
            }
        }
        else
        {
View Full Code Here

TOP

Related Classes of org.apache.directory.ldapstudio.browser.ui.widgets.entryeditor.OpenDefaultEditorAction

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.