Package org.zanata.webtrans.shared.model

Examples of org.zanata.webtrans.shared.model.ValidationDisplayRules


    public AbstractValidationAction(ValidationId id, String description,
            ValidationMessages validationMessages) {
        this.id = id;
        this.description = description;
        this.displayRules = new ValidationDisplayRules(state);
        this.validationMessages = validationMessages;
    }
View Full Code Here


        Collections.sort(validationActions,
                ValidationFactory.ValidationActionComparator);

        for (final ValidationAction validationAction : validationActions) {
            ValidationDisplayRules validationInfo = validationAction.getRules();

            HasValueChangeHandlers<Boolean> changeHandler =
                    display.addValidationSelector(validationAction.getId()
                            .getDisplayName(), validationAction
                            .getDescription(), validationInfo.isEnabled(),
                            validationInfo.isLocked());
            changeHandler
                    .addValueChangeHandler(new ValidationOptionValueChangeHandler(
                            validationAction));
        }
    }
View Full Code Here

TOP

Related Classes of org.zanata.webtrans.shared.model.ValidationDisplayRules

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.