Examples of ILongOperation


Examples of org.zkoss.ganttz.util.LongOperationFeedback.ILongOperation

    public void zoomIncrease() {
        if (ganttPanel == null) {
            return;
        }
        LongOperationFeedback.execute(ganttPanel, new ILongOperation() {

            @Override
            public String getName() {
                return _("increasing zoom");
            }
View Full Code Here

Examples of org.zkoss.ganttz.util.LongOperationFeedback.ILongOperation

    public void zoomDecrease() {
        if (ganttPanel == null) {
            return;
        }
        LongOperationFeedback.execute(ganttPanel, new ILongOperation() {
            @Override
            public String getName() {
                return _("decreasing zoom");
            }
View Full Code Here

Examples of org.zkoss.ganttz.util.LongOperationFeedback.ILongOperation

        invalidatingChangeHappenedWithFeedback();
    }

    private void invalidatingChangeHappenedWithFeedback() {
        LongOperationFeedback.execute(componentOnWhichGiveFeedback,
                new ILongOperation() {

                    @Override
                    public void doAction() {
                        invalidatingChangeHappened();
                    }
View Full Code Here

Examples of org.zkoss.ganttz.util.LongOperationFeedback.ILongOperation

        return (filterbyResources == null) ? true : filterbyResources;
    }

    private void invalidatingChangeHappenedWithFeedback() {
        LongOperationFeedback.execute(componentOnWhichGiveFeedback,
                new ILongOperation() {

                    @Override
                    public void doAction() {
                        applyFilter();
                    }
View Full Code Here

Examples of org.zkoss.ganttz.util.LongOperationFeedback.ILongOperation

        comboByName.invalidate();
    }

    private void changeNameFilterWithFeedback() {
        LongOperationFeedback.execute(componentOnWhichGiveFeedback,
                new ILongOperation() {

            @Override
            public void doAction() {
                if(paginationType == PaginationType.INTERNAL_PAGINATION) {
                    //if the pagination is internal, we are in charge of repainting the graph
View Full Code Here

Examples of org.zkoss.ganttz.util.LongOperationFeedback.ILongOperation

            }
        }

        private void showWithFeedback() {
            LongOperationFeedback.execute(tabsSwitcher,
                new ILongOperation() {

                    @Override
                    public String getName() {
                        return _("changing perspective");
                    }
View Full Code Here

Examples of org.zkoss.ganttz.util.LongOperationFeedback.ILongOperation

    }

    @Override
    public void doAction(final IContext<TaskElement> context) {
        LongOperationFeedback.execute(context.getRelativeTo(),
                new ILongOperation() {

                    @Override
                    public String getName() {
                        return _("Adapting planning according to timesheets");
                    }
View Full Code Here

Examples of org.zkoss.ganttz.util.LongOperationFeedback.ILongOperation

    public void setLabelsWithoutInheritance(Checkbox labelsWithoutInheritance) {
        this.labelsWithoutInheritance = labelsWithoutInheritance;
    }

    private void filterByPredicate(final TaskElementPredicate predicate) {
        LongOperationFeedback.execute(orderElementFilter, new ILongOperation() {

            @Override
            public void doAction() {
                // FIXME remove or change
                model.forceLoadLabelsAndCriterionRequirements();
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.