Examples of syncUi()


Examples of org.jitterbit.ui.property.Binding.syncUi()

        setMainPanel(c);
    }

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

    private void startDownloadOfExistingStructures() {
        structureFileManager.initialize();
    }
View Full Code Here

Examples of org.jitterbit.ui.property.Binding.syncUi()

        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

Examples of org.jitterbit.ui.property.Binding.syncUi()

        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();
        }
    }

    public void useForEdi() {
        existingStructureChoice.setText("&Select an existing transaction set from the server");
View Full Code Here

Examples of org.jitterbit.ui.property.Binding.syncUi()

        setMainPanel(c);
    }

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

    private void startDownloadOfExistingStructures() {
        structureFileManager.initialize();
    }
View Full Code Here

Examples of org.jitterbit.ui.property.Binding.syncUi()

        layoutPage();
    }

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

    private void layoutPage() {
        JSplitPane split = createSplitPane();
        setDisplayPanel(split);
View Full Code Here

Examples of org.jitterbit.ui.property.Binding.syncUi()

        layoutPage();
    }

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

    private Binding createWaitHandler() {
        Property<Boolean> property = consoleView.getModel().getProperty(ProjectConsoleModel.TALKING_TO_SERVER);
View Full Code Here

Examples of org.jitterbit.ui.property.Binding.syncUi()

        return grid;
    }

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


    private static class RootNameField extends TextInputField2 {
View Full Code Here

Examples of org.jitterbit.ui.property.Binding.syncUi()

        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;
    }


    private class Ui implements UiProvider {
View Full Code Here

Examples of org.jitterbit.ui.property.Binding.syncUi()

    }

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


    private static class Dialog extends WizardStyleDialog {
View Full Code Here

Examples of org.jitterbit.ui.property.Bindings.syncUi()

        Bindings bindings = new Bindings(
            new WaitStateBinding(opHistoryModel, OperationHistoryModel.TALKING_TO_SERVER, this),
            new WaitStateBinding(sourceHistoryModel, SourceHistoryModel.TALKING_TO_SERVER, this),
            ActionEnabledBinding.forBoolean(deleteHistoryAction, sourceHistoryModel,
                            SourceHistoryModel.HAVE_ITEMS_TO_DELETE));
        bindings.syncUi();
    }

    private void layoutPage() {
        BorderLayoutBuilder layout = new BorderLayoutBuilder();
        layout.center(createSplit());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.