Package org.jitterbit.ui.widget.button

Examples of org.jitterbit.ui.widget.button.KongaCheckBox


    public void requestFocus() {
        checkBox.requestFocusInWindow();
    }

    private JCheckBox createCheckBox() {
        KongaCheckBox checkBox = new KongaCheckBox(Strings.getEncryptionLabel(PackMode.EXPORT));
        checkBox.addSelectionChangeListener(new Receiver<Boolean>() {

            @Override
            public void handle(Boolean selected) {
                passwordAction.setEnabled(selected);
                if (selected) {
View Full Code Here


   
    private JComponent layout(UiProvider selector) {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.center(selector);
        if (preference != null) {
            KongaCheckBox checkBox = createDoNotShowAgainCheckBox();
            layout.south(checkBox);
        }
        return layout.container();
    }
View Full Code Here

        }
        return layout.container();
    }

    private KongaCheckBox createDoNotShowAgainCheckBox() {
        KongaCheckBox checkBox = new KongaCheckBox("&Do not show again");
        checkBox.addSelectionChangeListener(new Receiver<Boolean>() {

            @Override
            public void handle(Boolean selected) {
                preference.set(!selected);
            }
        });
        checkBox.setBorder(Empty.border(10, 0, 0, 0));
        return checkBox;
    }
View Full Code Here

    private final JLabel jdbcOnlyLabel;

    public ManualModeSwitch() {
        String label = PackageResources.SourceStartPage.Labels.WRITE_SQL;
        writeSQL = new KongaCheckBox(label);
        jdbcOnlyLabel = new JLabel("Manual SQL statements are supported for JDBC only.");
        jdbcOnlyLabel.setIcon(CommonIcons.INFO_16);
        jdbcOnlyLabel.setVisible(false);
    }
View Full Code Here

    private final ExportSecurityDefiner securityDefiner;

    public ExportParametersDefiner(IntegrationProject project) {
        this.project = project;
        includePasswordsSelector = createIncludePasswordsSelector();
        includeTestDataSelector = new KongaCheckBox(Strings.get("IncludeTestData"));
        readOnlySelector = createReadOnlySelector();
        securityDefiner = new ExportSecurityDefiner();
    }
View Full Code Here

        securityDefiner = new ExportSecurityDefiner();
    }

    private JCheckBox createIncludePasswordsSelector() {
        boolean selected = getPreferences().getBoolean(INCLUDE_PASSWORDS_PREFERENCE, false);
        return new KongaCheckBox(Strings.get("IncludePasswords"), selected);
    }
View Full Code Here

    private static KongaPreferences getPreferences() {
        return KongaPreferences.getPreferences(PackingParametersDefiner.class);
    }

    private JCheckBox createReadOnlySelector() {
        JCheckBox cb = new KongaCheckBox(Strings.get("Params.ReadOnly"));
        if (project.isDeployable()) {
            cb.setToolTipText(Strings.get("Params.ReadOnly.ToolTip"));
        } else {
            // If the project is already flagged as read-only we do not let the user
            // override this setting. Otherwise the user could just create a new jitterpak
            // to get around the read-only setting.
            cb.setSelected(true);
            cb.setEnabled(false);
            cb.setToolTipText(Strings.get("Params.ReadOnly.Disabled.ToolTip"));
        }
        return cb;
    }
View Full Code Here

        newProjectNameFieldCapsule.setToolTipText(tooltip);
    }

    private KongaCheckBox createEncryptionCheckBox() {
        String label = Strings.getEncryptionLabel(PackMode.IMPORT);
        KongaCheckBox checkBox = new KongaCheckBox(label);
        checkBox.addSelectionChangeListener(new Receiver<Boolean>() {

            @Override
            public void handle(Boolean selected) {
                pwdField.setEnabled(selected);
            }
View Full Code Here

        f.setEnabled(false);
        return f;
    }

    private KongaCheckBox createNewGUIDsBox() {
        KongaCheckBox box = new KongaCheckBox(Strings.get("Import.NewGuids"));
        box.setToolTipText(Strings.get("Import.NewGuids.ToolTip"));
        return box;
    }
View Full Code Here

    public void requestFocus() {
        table.requestFocus();
    }

    private void createExtensionCheck() {
        extensionCheck = new KongaCheckBox(getExtensionCheckText(), true);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.button.KongaCheckBox

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.