Package com.intellij.openapi.fileEditor.ex

Examples of com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.closeFile()


    public void setConsoleEditorEnabled(boolean consoleEditorEnabled) {
        if (isConsoleEditorEnabled() == consoleEditorEnabled) return;
        final FileEditorManagerEx fileManager = FileEditorManagerEx.getInstanceEx(getProject());
        if (consoleEditorEnabled) {
            fileManager.closeFile(myVirtualFile);
            myPanel.removeAll();
            myPanel.add(myHistoryViewer.getComponent());
            myPanel.add(myConsoleEditor.getComponent());

            myHistoryViewer.setHorizontalScrollbarVisible(false);
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.