Package org.jitterbit.ui

Examples of org.jitterbit.ui.Enablable


        testNoPriorKeysSelected();
    }
   
    private void testNoPriorKeysSelected() {
        DatabaseObject[] objs = getDbObjects();
        Enablable en = new Enablable() {

            @Override
            public boolean isEnabled() {
                return false;
            }
View Full Code Here


    private KongaDialog createDialog() {
        JFrame owner = appWin.getFrame();
        final KongaDialog dlg = new FileTemplateWizardDialog(owner, ui);
        dlg.getOKButton().setEnabled(false);
        ui.setValidationListener(new Enablable() {

            @Override
            public boolean isEnabled() {
                return dlg.getOKButton().isEnabled();
            }
View Full Code Here

    }
   
    private MessagePropertiesDialog createPropertiesDialog(TransformationChainModel model) {
        assert (textArea != null) && (viewPropertiesAction != null);
        JTextArea recipient = (JTextArea) textArea.getInputComponent();
        Enablable dialogGate = EnablabeAdapterFactory.fromAction(viewPropertiesAction);
        return new MessagePropertiesDialog(model, recipient, dialogGate);
    }
View Full Code Here

        bindExecutorToUi();
    }
   
    private Executor createExecutor() {
        Executor executor = new Executor();
        executor.setCallback(new Enablable() {
           
            @Override
            public void setEnabled(boolean value) {
                ui.setEnabled(value);
                if (value) {
View Full Code Here

    private ProjectBrowserLocationDisplayer createLocationDisplayer() {
        ProjectLocation suggestedLocation = getSuggestedProjectNameAndLocation();
        ProjectBrowserLocationDisplayer disp = ProjectLocationBrowser.getNewProjectBrowser(
                        suggestedLocation.getProjectName(), suggestedLocation.getLocation());
        disp.addActionListener(createAction);
        Enablable e = EnablabeAdapterFactory.fromAction(createAction);
        disp.addValidInputSensor(e);
        return disp;
    }
View Full Code Here

        UiUtils.setPanelBackgrounds(c, Colors.NEUTRAL_BACKGROUND);
        return c;
    }

    private void bindOkButtonEnabler() {
        Enablable e = EnablabeAdapterFactory.fromComponent(dialog.getOKButton());
        inputForm.addValidInputSensor(e);
    }
View Full Code Here

    }
   
    private MessagePropertiesDialog createPropertiesDialog() {
        assert (textArea != null) && (viewPropertiesAction != null);
        JTextArea recipient = (JTextArea) textArea.getInputComponent();
        Enablable dialogGate = EnablabeAdapterFactory.fromAction(viewPropertiesAction);
        return new MessagePropertiesDialog(project, recipient, dialogGate);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.Enablable

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.