Examples of DDLFileEditor


Examples of com.dci.intellij.dbn.editor.ddl.DDLFileEditor

    public DDLMappedNotificationPanel createNotificationPanel(VirtualFile virtualFile, FileEditor fileEditor) {
        if (virtualFile instanceof DatabaseEditableObjectFile) {
            if (fileEditor instanceof DDLFileEditor) {
                DatabaseEditableObjectFile editableObjectFile = (DatabaseEditableObjectFile) virtualFile;
                DBSchemaObject editableObject = editableObjectFile.getObject();
                DDLFileEditor ddlFileEditor = (DDLFileEditor) fileEditor;
                VirtualFile ddlVirtualFile = ddlFileEditor.getVirtualFile();
                return createPanel(ddlVirtualFile, editableObject);
            }
            return null;
        } else {
            if (virtualFile.getFileType() instanceof DBLanguageFileType) {
View Full Code Here

Examples of com.dci.intellij.dbn.editor.ddl.DDLFileEditor

                    }

                    FileEditor[] fileEditors = editorManager.getSelectedEditors();
                    for (FileEditor fileEditor : fileEditors) {
                        if (fileEditor instanceof DDLFileEditor) {
                            DDLFileEditor textEditor = (DDLFileEditor) fileEditor;
                            if (textEditor.getVirtualFile() == virtualFile) {
                                descriptor.navigateIn(textEditor.getEditor());
                                return;
                            }

                        }
                    }
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.