Package com.dci.intellij.dbn.vfs

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


        } else {
            if (virtualFile.getFileType() instanceof DBLanguageFileType) {
                DDLFileAttachmentManager attachmentManager = DDLFileAttachmentManager.getInstance(project);
                DBSchemaObject editableObject = attachmentManager.getEditableObject(virtualFile);
                if (editableObject != null) {
                    DatabaseFileSystem databaseFileSystem = DatabaseFileSystem.getInstance();
                    if (databaseFileSystem.isFileOpened(editableObject))
                        return createPanel(virtualFile, editableObject);
                }
            }
        }
        return null;
View Full Code Here


    }

    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);
        }
        return databaseFile;
    }
View Full Code Here

TOP

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

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.