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

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


    public JComponent getComponent() {
        return mainPanel;
    }

    public void applyChanges() throws ConfigurationException {
        DataEditorRecordNavigationSettings configuration = getConfiguration();

        RecordNavigationTarget navigationTarget =
                viewerRadioButton.isSelected() ? RecordNavigationTarget.VIEWER :
                editorRadioButton.isSelected() ? RecordNavigationTarget.EDITOR :
                askRadioButton.isSelected() ? RecordNavigationTarget.ASK :
                RecordNavigationTarget.VIEWER;
        configuration.setNavigationTarget(navigationTarget);
    }
View Full Code Here


                RecordNavigationTarget.VIEWER;
        configuration.setNavigationTarget(navigationTarget);
    }

    public void resetChanges() {
        DataEditorRecordNavigationSettings configuration = getConfiguration();
        RecordNavigationTarget navigationTarget = configuration.getNavigationTarget();
        if (navigationTarget == RecordNavigationTarget.VIEWER) viewerRadioButton.setSelected(true); else
        if (navigationTarget == RecordNavigationTarget.EDITOR) editorRadioButton.setSelected(true); else
        if (navigationTarget == RecordNavigationTarget.ASK) askRadioButton.setSelected(true);
    }
View Full Code Here

TOP

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

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.