|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.egf.common.ui.toolkit.validators.AbstractValidator
org.eclipse.egf.common.ui.toolkit.validators.NotEmptyStringValidator
org.eclipse.egf.core.ui.internal.validators.PatternElementValidator
public class PatternElementValidator
Implements a validator that checks AbstractPatternElement valid state.
| Constructor Summary | |
|---|---|
PatternElementValidator(NamedModelElementWithId parent_p,
AbstractPatternElement pattern_p,
String errorMessage_p)
Constructor. |
|
| Method Summary | |
|---|---|
String |
isValid(Object value_p)
Returns a string indicating whether the given value is valid; null means valid, and non-null means invalid, with the result
being the error message to display to the end-user. |
| Methods inherited from class org.eclipse.egf.common.ui.toolkit.validators.AbstractValidator |
|---|
getErrorMessage, setErrorMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PatternElementValidator(NamedModelElementWithId parent_p,
AbstractPatternElement pattern_p,
String errorMessage_p)
patternElement_p - errorMessage_p - | Method Detail |
|---|
public String isValid(Object value_p)
org.eclipse.egf.common.ui.toolkit.validators.IValidatornull means valid, and non-null means invalid, with the result
being the error message to display to the end-user.
It is the responsibility of the implementor to fully format the message before returning it.
isValid in interface org.eclipse.egf.common.ui.toolkit.validators.IValidatorisValid in class org.eclipse.egf.common.ui.toolkit.validators.NotEmptyStringValidatorvalue_p - the value to be validated
null indicating that the value is valid.NotEmptyStringValidator.isValid(java.lang.Object)
|
EGF Engine Release 0.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.