Package org.jitterbit.application.prefs

Examples of org.jitterbit.application.prefs.BooleanPreference


    public void run() {
        SupportedLookAndFeel.NIMBUS.install();
        GettingStartedUi ui = new GettingStartedUi(
            new NewOperationAction(),
            new StartConnectAction(),
            new BooleanPreference(getClass(), new String[] {"Test"}, "Test", Boolean.TRUE)
        );
        QuickFrame.show(ui, null);
    }
View Full Code Here


    }

    private DeployPrompt createPrompt() {
        if (view.getProject().isDeployable()) {
            DialogDeployPrompt dialog = new DialogDeployPrompt();
            BooleanPreference preference = AlwaysDeployDirtyItemsWhenTestingPreference.INSTANCE;
            dialog.setAutomaticDeployPreference(preference);
            return new PreferenceCheckingDeployPrompt(dialog, preference);
        } else {
            return new ReadOnlyProjectDeployPrompt();
        }
View Full Code Here

        return INSTANCE;
    }

    private static BooleanPreference createPref() {
        PreferenceFactory factory = ApplicationConfiguration.getPreferenceFactory();
        BooleanPreference pref = factory.newBooleanPreference(
                        new String[] { "Project" }, "ConfirmDelete", Boolean.TRUE);
        return pref;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.prefs.BooleanPreference

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.