Package com.dci.intellij.dbn.connection

Examples of com.dci.intellij.dbn.connection.ModuleConnectionBundle


    private String contentEntryPath;
    private List<Pair<String,String>> sourcePaths;

    private ModuleConnectionBundle tempConnectionManager;
    public DBModuleBuilder() {
        tempConnectionManager = new ModuleConnectionBundle(null);
    }
View Full Code Here


    }

    @NotNull
    public Module createModule(@NotNull ModifiableModuleModel moduleModel) throws InvalidDataException, IOException, ModuleWithNameAlreadyExists, JDOMException, ConfigurationException {
        Module module = super.createModule(moduleModel);
        ModuleConnectionBundle connectionManager = ModuleConnectionBundle.getInstance(module);
        connectionManager.setModified(true);
        connectionManager.addConnections(tempConnectionManager.getConnectionHandlers());

        return module;
    }
View Full Code Here

            setIcon(treeNode.getIcon(0));

            boolean isLoading = false;
            String displayName;
            if (treeNode instanceof ModuleConnectionBundle) {
                ModuleConnectionBundle connectionManager = (ModuleConnectionBundle) treeNode;
                displayName = connectionManager.getModule().getName();
            } else if (treeNode instanceof ProjectConnectionBundle) {
                displayName = "PROJECT";
            } else {
                displayName = treeNode.getPresentableText();
            }
View Full Code Here

        BrowserTreeNode treeNode = (BrowserTreeNode) value;
        setIcon(treeNode.getIcon(0));

        String displayName;
        if (treeNode instanceof ModuleConnectionBundle) {
            ModuleConnectionBundle connectionManager = (ModuleConnectionBundle) treeNode;
            displayName = connectionManager.getModule().getName();
        } else if (treeNode instanceof ProjectConnectionBundle) {
            displayName = "PROJECT";
        } else {
            displayName = treeNode.getPresentableText();
        }
View Full Code Here

                append(true, getConnectionHandler().getProject().getName(), false);
                append(false, "/", false);
                ConnectionBundle connectionBundle = getConnectionHandler().getConnectionBundle();
                if (connectionBundle instanceof ModuleConnectionBundle) {
                    ModuleConnectionBundle moduleConnectionManager = (ModuleConnectionBundle) connectionBundle;
                    append(false, moduleConnectionManager.getModule().getName(), false);
                    append(false, "/", false);
                }

                append(false, getConnectionHandler().getName(), false);
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.connection.ModuleConnectionBundle

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.