Package org.jitterbit.ui.property

Examples of org.jitterbit.ui.property.WaitStateBinding


        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


        layoutPage();
    }

    private void bindProperties() {
        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();
    }
View Full Code Here

    public void setBusy(boolean value) {
        busy.set(value);
    }

    public Binding bindBusyState(WaitService waitService) {
        WaitStateBinding b = new WaitStateBinding(busy, waitService);
        b.syncUi();
        return b;
    }
View Full Code Here

        layoutPage();
    }

    private void bindProperties() {
        Bindings bindings = new Bindings(
                new WaitStateBinding(model.<Boolean> getProperty(OperationLogModel.TALKING_TO_SERVER), this),
                ActionEnabledBinding.forBoolean(deleteAction, model, OperationQueueModel.HAVE_ITEMS_TO_DELETE)
        );
        bindings.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

        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.WaitStateBinding

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.