Package com.intellij.openapi.fileEditor.impl.text

Examples of com.intellij.openapi.fileEditor.impl.text.TextEditorProvider


        this.project = project;
    }

    public void init() {
        LightVirtualFile groovyVirtualFile = new LightVirtualFile("response.html", "");
        TextEditorProvider editorProvider = TextEditorProvider.getInstance();
        FileEditor fileEditor = editorProvider.createEditor(project, groovyVirtualFile);
        if (fileEditor instanceof TextEditor) {
            editor = ((TextEditor) fileEditor).getEditor();
        }
        this.editorComponent = fileEditor.getComponent();
    }
View Full Code Here


        this.project = project;
    }

    public void init() {
        LightVirtualFile groovyVirtualFile = new LightVirtualFile("Test.groovy", "");
        TextEditorProvider editorProvider = TextEditorProvider.getInstance();
        FileEditor fileEditor = editorProvider.createEditor(project, groovyVirtualFile);
        if (fileEditor instanceof TextEditor) {
            editor = ((TextEditor) fileEditor).getEditor();
        }
        this.editorComponent = fileEditor.getComponent();
    }
View Full Code Here

TOP

Related Classes of com.intellij.openapi.fileEditor.impl.text.TextEditorProvider

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.