Package org.jitterbit.ui.property

Examples of org.jitterbit.ui.property.Binding


        c.setBorder(Empty.border(0, 0, 12, 0));
        setMainPanel(c);
    }

    private void installWaitIndication() {
        Binding b = new WaitStateBinding(model.<Boolean>getProperty(StructureFileSelectionModel.BUSY), getWaitService());
        b.syncUi();
    }
View Full Code Here


        buttons.put(FileInputMode.EXISTING, existingStructureChoice);
        if (uploadLocalFileChoice != null) {
            buttons.put(FileInputMode.LOCAL, uploadLocalFileChoice);
        }
        buttons.put(FileInputMode.FROM_SAMPLE_FILE, fromSampleFileChoice);
        Binding modeBinding = RadioButtonEnumBinding.forButtons(model.getInputModeProperty(), buttons);
        modeBinding.syncUi();
        if (localFileSelector != null) {
            Binding localFileBinding = new FileSelectorBinding(localFileSelector, model.getLocalFileProperty());
            localFileBinding.syncUi();
        }
    }
View Full Code Here

        c.setBorder(Empty.border(0, 0, 12, 0));
        setMainPanel(c);
    }

    private void installWaitIndication() {
        Binding b = new WaitStateBinding(model.<Boolean>getProperty(StructureFileSelectionModel.BUSY), getWaitService());
        b.syncUi();
    }
View Full Code Here

        bindProperties();
        layoutPage();
    }

    private void bindProperties() {
        Binding b = new WaitStateBinding(model.<Boolean> getProperty(OperationLogModel.TALKING_TO_SERVER), this);
        b.syncUi();
    }
View Full Code Here

        addResource(new DisposableWindowElementResource(consoleView, controller));
        layoutPage();
    }

    private void installWaitIndication() {
        Binding waitHandler = createWaitHandler();
        waitHandler.syncUi();
        addResource(new DisposableWindowElementResource(waitHandler));
    }
View Full Code Here

        grid.addRow(new JLabel(" "), includeDefaultsChoice);
        return grid;
    }

    private void bindOkButton(KongaDialog dialog) {
        Binding okEnabler = new ComponentEnabledBinding(model, XsdGeneratorModel.VALID_SETTINGS, dialog.getOKButton());
        okEnabler.syncUi();
        bindings.add(okEnabler);
    }
View Full Code Here

    private KongaDialog createDialog(UiProvider ui) {
        KongaDialog dialog = new KongaDialog(UiUtils.getActiveWindow(), "File name conflict");
        dialog.standardLayout(ui, KongaDialog.CONTINUE_CANCEL);
        dialog.setContinueButtonAsDefault();
        dialog.setFocusedComponent(ui);
        Binding binding = new ComponentEnabledBinding(model, XsdGeneratorModel.VALID_SETTINGS, dialog.getContinueButton());
        binding.syncUi();
        return dialog;
    }
View Full Code Here

        selectionService.dispose();
    }

    private void installWaitIndication(PluginPositionSelectionService selectionService, Dialog dialog) {
        Property<Boolean> busy = selectionService.getModel().getProperty(PluginPositionSelectorModel.BUSY);
        Binding b = new WaitStateBinding(busy, dialog);
        b.syncUi();
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.property.Binding

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.