Package com.dci.intellij.dbn.ddl.ui

Examples of com.dci.intellij.dbn.ddl.ui.DDLMappedNotificationPanel


        return null;
    }

    private DDLMappedNotificationPanel createPanel(@NotNull final VirtualFile virtualFile, final DBSchemaObject editableObject) {
        final DBObjectRef<DBSchemaObject> editableObjectRef = editableObject.getRef();
        DDLMappedNotificationPanel panel = new DDLMappedNotificationPanel();
        panel.setText("This DDL file is attached to the database " + editableObject.getQualifiedNameWithType() + ". Changes done to the " + editableObject.getObjectType().getName() + " are automatically mirrored to this DDL file, overwriting any changes you may do to it.");
        panel.createActionLabel("Detach", new Runnable() {
            @Override
            public void run() {
                if (!project.isDisposed()) {
                    DDLFileAttachmentManager attachmentManager = DDLFileAttachmentManager.getInstance(project);
                    attachmentManager.detachDDLFile(virtualFile);
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.ddl.ui.DDLMappedNotificationPanel

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.