Examples of TabbedDockableContainer


Examples of com.vlsolutions.swing.docking.TabbedDockableContainer

    private void setCurrentEditorDockable(EditorDockable editorDockable) {
        if (editorDockable == null) {
            editor = null;
        } else if (editor != null) {
            Dockable dockable = (Dockable) editor.getData("dockable");
            TabbedDockableContainer dockableContainer = DockingUtilities.findTabbedDockableContainer(dockable);
            int order = 1;
            if (dockableContainer != null) {
                order = dockableContainer.indexOfDockable(dockable) + 1;
            }
            DockableState dockableState = workspace.getDockableState(editorDockable);
            if (dockableState == null) {
                workspace.createTab(dockable, editorDockable, order, true);
            }
View Full Code Here

Examples of com.vlsolutions.swing.docking.TabbedDockableContainer

            openEditor.setFocus();
        }
    }

    private void selectDockable(final EditorDockable dockable) {
        TabbedDockableContainer container = DockingUtilities.findTabbedDockableContainer(dockable);
        if (container != null) {
            container.setSelectedDockable(dockable);
        }
        dockable.getEditor().setFocus();
        return;
    }
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.