Package ro.redeul.google.go.options

Examples of ro.redeul.google.go.options.GoSettings


    public void doApplyInformationToEditor() {
        if (!editor.getContentComponent().hasFocus()) {
            return;
        }

        GoSettings settings = GoSettings.getInstance();
        if (settings.OPTIMIZE_IMPORTS_ON_THE_FLY &&
            couldDoAutoImport()) {
            GoImportOptimizer.optimize(file);
        }
View Full Code Here


        return myPanel;
    }

    @Override
    public boolean isModified() {
        GoSettings s = GoSettings.getInstance();
        return s.OPTIMIZE_IMPORTS_ON_THE_FLY != myOptimizeImportsOnTheFly.isSelected() ||
            s.SHOW_IMPORT_POPUP != myShowAutoImportPopups.isSelected();
    }
View Full Code Here

            s.SHOW_IMPORT_POPUP != myShowAutoImportPopups.isSelected();
    }

    @Override
    public void apply() throws ConfigurationException {
        GoSettings s = GoSettings.getInstance();
        s.OPTIMIZE_IMPORTS_ON_THE_FLY = myOptimizeImportsOnTheFly.isSelected();
        s.SHOW_IMPORT_POPUP = myShowAutoImportPopups.isSelected();
    }
View Full Code Here

        s.SHOW_IMPORT_POPUP = myShowAutoImportPopups.isSelected();
    }

    @Override
    public void reset() {
        GoSettings s = GoSettings.getInstance();
        myOptimizeImportsOnTheFly.setSelected(s.OPTIMIZE_IMPORTS_ON_THE_FLY);
        myShowAutoImportPopups.setSelected(s.SHOW_IMPORT_POPUP);
    }
View Full Code Here

TOP

Related Classes of ro.redeul.google.go.options.GoSettings

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.