Package com.volantis.mcs.eclipse.validation

Examples of com.volantis.mcs.eclipse.validation.ValidationMessageBuilder


            throw new IllegalArgumentException("Cannot be null: rootElement");
        }
        this.resource = resource;
        this.rootElement = rootElement;
        this.rootElementIdentifier = rootElementIdentifier;
        this.vmb = new ValidationMessageBuilder(BUNDLE,
                MESSAGE_KEY_MAPPINGS,
                null);
        this.xPathMappings = new HashMap();
    }
View Full Code Here


    // javadoc inherited
    public ValidationStatus validate() {
        SelectionValidator validator = createValidator();
        supplementaryArgs[0] = getText().getText();
        return validator.validate(getValue(),
                new ValidationMessageBuilder(
                        ControlsMessages.getResourceBundle(),
                        MESSAGE_KEY_MAPPINGS,
                        supplementaryArgs));
    }
View Full Code Here

                                               Validator validator) {
        String supplementaryFormatArgs [] = new String[1];
        String localName = EclipseCommonMessages.
                getLocalizedPolicyName(elementName, attrName);
        supplementaryFormatArgs[0] = localName;
        ValidationMessageBuilder messageBuilder =
                new ValidationMessageBuilder(WizardMessages.
                getResourceBundle(), MESSAGE_KEY_MAPPINGS,
                        supplementaryFormatArgs);
        ValidationStatus status = validator.validate(value, messageBuilder);

        return status;
View Full Code Here

        setPageComplete(false);
        this.policyExtension = policyExtension;
        this.policyTypeNameAttribute = policyTypeNameAttribute;
        supplementaryFormatArgs[0] = policyTypeNameAttribute;
        messageBuilder =
                new ValidationMessageBuilder(WizardMessages.
                getResourceBundle(), MESSAGE_KEY_MAPPINGS,
                        supplementaryFormatArgs);
        this.policyNameLabel = policyNameLabel;
        this.currentSelection = selection;
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.eclipse.validation.ValidationMessageBuilder

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.