Package com.dci.intellij.dbn.browser.options

Examples of com.dci.intellij.dbn.browser.options.DatabaseBrowserSettings


        }
        while (history.size() - > offset) {
            history.remove(offset);
        }

        DatabaseBrowserSettings browserSettings = DatabaseBrowserSettings.getInstance(treeNode.getProject());

        int historySize = browserSettings.getGeneralSettings().getNavigationHistorySize().value();
        while (history.size() > historySize) {
            history.remove(0);
        }
        history.add(treeNode);
        offset = history.size() -1;
View Full Code Here


    public void actionPerformed(AnActionEvent e) {
        Project project = ActionUtil.getProject(e);
        if (project != null) {
            GlobalProjectSettingsDialog globalSettingsDialog = new GlobalProjectSettingsDialog(project);
            DatabaseBrowserSettings databaseBrowserSettings = DatabaseBrowserSettings.getInstance(project);
            globalSettingsDialog.focusSettings(databaseBrowserSettings);
            globalSettingsDialog.show();
        }
    }
View Full Code Here

    private ObjectTypeFilterSettings objectTypeFilterSettings;
    private ObjectNameFilterSettings objectNameFilterSettings;

    public ConnectionFilterSettings(Project project) {
        super(project);
        DatabaseBrowserSettings databaseBrowserSettings = DatabaseBrowserSettings.getInstance(project);
        ObjectTypeFilterSettings master = databaseBrowserSettings.getFilterSettings().getObjectTypeFilterSettings();
        objectTypeFilterSettings = new ObjectTypeFilterSettings(project, master);
        objectNameFilterSettings = new ObjectNameFilterSettings(project);
    }
View Full Code Here

        //configurationTabs.setAdjustBorders(false);

        mainPanel.add(configurationTabs, BorderLayout.CENTER);

        GlobalConnectionSettings connectionSettings = globalSettings.getConnectionSettings();
        DatabaseBrowserSettings browserSettings = globalSettings.getBrowserSettings();
        NavigationSettings navigationSettings = globalSettings.getNavigationSettings();
        CodeCompletionSettings codeCompletionSettings = globalSettings.getCodeCompletionSettings();
        //ProjectCodeStyleSettings codeStyleSettings = globalSettings.getCodeStyleSettings();
        DataEditorSettings dataEditorSettings = globalSettings.getDataEditorSettings();
        ExecutionEngineSettings executionEngineSettings = globalSettings.getExecutionEngineSettings();
View Full Code Here

    public void dispose() {
    }

    public boolean isTabbedMode() {
        DatabaseBrowserSettings browserSettings = DatabaseBrowserSettings.getInstance(getProject());
        return browserSettings.getGeneralSettings().getDisplayMode() == BrowserDisplayMode.TABBED;
    }
View Full Code Here

            return null;
        }
    };

    public Filter<BrowserTreeNode> getObjectFilter() {
        DatabaseBrowserSettings browserSettings = DatabaseBrowserSettings.getInstance(getProject());
        return browserSettings.getFilterSettings().getObjectTypeFilterSettings().getElementFilter();
    }
View Full Code Here

    }

    private GlobalProjectSettings(Project project) {
        super(project);
        generalSettings = new GeneralProjectSettings(project);
        browserSettings = new DatabaseBrowserSettings(project);
        navigationSettings = new NavigationSettings(project);
        codeStyleSettings = new ProjectCodeStyleSettings(project);
        dataEditorSettings = new DataEditorSettings(project);
        codeCompletionSettings = new CodeCompletionSettings(project);
        executionEngineSettings = new ExecutionEngineSettings(project);
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.browser.options.DatabaseBrowserSettings

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.