|
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.ReferencedFactoryComponentValidator
public abstract class ReferencedFactoryComponentValidator
Validator used to validate a ReferencedFactoryComponent
.
Constructor Summary | |
---|---|
ReferencedFactoryComponentValidator(String errorMessage_p)
Constructor. |
Method Summary | |
---|---|
protected abstract void |
handleReferencedFactoryComponentChange(String newReferencedFactoryComponentIdValue_p)
Handle a referenced factory component change. |
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 ReferencedFactoryComponentValidator(String errorMessage_p)
errorMessage_p
- Method Detail |
---|
protected abstract void handleReferencedFactoryComponentChange(String newReferencedFactoryComponentIdValue_p)
newReferencedFactoryComponentIdValue_p
- can be null if no id is retrieved.public String isValid(Object value_p)
org.eclipse.egf.common.ui.toolkit.validators.IValidator
null
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.IValidator
isValid
in class org.eclipse.egf.common.ui.toolkit.validators.NotEmptyStringValidator
value_p
- the value to be validated
null
indicating that the value is valid.com.thalesgroup.mde.common.ui.toolkit.validators.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.