Package com.dci.intellij.dbn.vfs

Examples of com.dci.intellij.dbn.vfs.DatabaseEditableObjectFile


            }
        }
    }

    public static DatabaseEditableObjectFile getDatabaseFile(XLineBreakpoint<DBProgramBreakpointProperties> breakpoint) {
        DatabaseEditableObjectFile databaseFile = breakpoint.getUserData(DATABASE_FILE_KEY);
        if (databaseFile == null) {
            DatabaseFileSystem databaseFileSystem = DatabaseFileSystem.getInstance();
            databaseFile = (DatabaseEditableObjectFile) databaseFileSystem.findFileByPath(breakpoint.getFileUrl());
            breakpoint.putUserData(DATABASE_FILE_KEY, databaseFile);
        }
View Full Code Here


        return databaseFile;
    }

    public DatabaseContentFile getContentFile() {
        if (contentFile == null) {
            DatabaseEditableObjectFile databaseFile = getDatabaseFile();
            contentFile = databaseFile.getContentFile(contentType);
        }
        return contentFile;
    }
View Full Code Here

        else if (object instanceof CompilerMessageNode) {
            CompilerMessageNode compilerMessageNode = (CompilerMessageNode) object;
            CompilerMessage compilerMessage = compilerMessageNode.getCompilerMessage();
            FileEditorManager editorManager = FileEditorManager.getInstance(compilerMessage.getProject());

            DatabaseEditableObjectFile databaseFile = compilerMessage.getDatabaseFile();
            if (compilerMessage.isError() || editorManager.isFileOpen(databaseFile)) {
                editorManager.openFile(databaseFile, false);
                if (compilerMessage.getContentFile() != null) {
                    BasicTextEditor textEditor = EditorUtil.getFileEditor(databaseFile, compilerMessage.getContentFile());
                    if (textEditor != null) {
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.vfs.DatabaseEditableObjectFile

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.