Examples of JBTabsImpl


Examples of com.intellij.ui.tabs.impl.JBTabsImpl

import java.awt.Font;
import java.util.List;

public class EditorUtil {
    public static void selectEditor(DatabaseEditableObjectFile databaseFile, FileEditor fileEditor) {
        JBTabsImpl tabs = getEditorTabComponent(databaseFile);
        TabInfo tabInfo = getEditorTabInfo(tabs, fileEditor);
        if (tabInfo != null) {
            tabs.getJBTabs().select(tabInfo, true);
        }
    }
View Full Code Here

Examples of com.intellij.ui.tabs.impl.JBTabsImpl

            tabs.getJBTabs().select(tabInfo, true);
        }
    }

    public static void setEditorIcon(DatabaseEditableObjectFile databaseFile, FileEditor fileEditor, Icon icon) {
        JBTabsImpl tabs = getEditorTabComponent(databaseFile);
        TabInfo tabInfo = getEditorTabInfo(tabs, fileEditor);
        if (tabInfo != null) {
            tabInfo.setIcon(icon);
        }
    }
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.