Package com.dci.intellij.dbn.editor.data.options

Examples of com.dci.intellij.dbn.editor.data.options.DataEditorQualifiedEditorSettings


    }

    public TextContentType getContentType() {
        DataModelState state = row.getModel().getState();
        String contentTypeName = state.getTextContentTypeName(getColumnInfo().getName());
        DataEditorQualifiedEditorSettings qualifiedEditorSettings = DataEditorSettings.getInstance(getProject()).getQualifiedEditorSettings();
        return qualifiedEditorSettings.getContentType(contentTypeName);
    }
View Full Code Here


    }

    private TextContentType getPlainTextContentType() {
        Project project = userValueHolder.getProject();
        DataEditorQualifiedEditorSettings qualifiedEditorSettings = DataEditorSettings.getInstance(project).getQualifiedEditorSettings();
        return qualifiedEditorSettings.getPlainTextContentType();

    }
View Full Code Here

    }

    @NotNull
    protected DefaultActionGroup createPopupActionGroup(JComponent button) {
        Project project = ActionUtil.getProject(button);
        DataEditorQualifiedEditorSettings qualifiedEditorSettings = DataEditorSettings.getInstance(project).getQualifiedEditorSettings();
       
        DefaultActionGroup actionGroup = new DefaultActionGroup();
        for (TextContentType contentType : qualifiedEditorSettings.getContentTypes()) {
            if (contentType.isSelected()) {
                actionGroup.add(new TextContentTypeSelectAction(editorForm, contentType));
            }

        }
View Full Code Here

        registerComponent(checkBoxList);
    }

    @Override
    public void applyChanges() throws ConfigurationException {
        DataEditorQualifiedEditorSettings settings = getConfiguration();
        checkBoxList.applyChanges();
        settings.setTextLengthThreshold(ConfigurationEditorUtil.
                validateIntegerInputValue(
                        textLengthThresholdTextField,
                        "Text Length Threshold", 0, 999999999, null));
    }
View Full Code Here

                        "Text Length Threshold", 0, 999999999, null));
    }

    @Override
    public void resetChanges() {
        DataEditorQualifiedEditorSettings settings = getConfiguration();
        textLengthThresholdTextField.setText(Integer.toString(settings.getTextLengthThreshold()));
    }
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.editor.data.options.DataEditorQualifiedEditorSettings

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.