|
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.pattern.ui.editor.page.AbstractPatternPage.TextValidator
org.eclipse.egf.pattern.ui.editor.page.PatternSpecificationPage.ParameterNameValidator
protected class PatternSpecificationPage.ParameterNameValidator
Parameter name validator.
Field Summary | |
---|---|
protected static String |
ERROR_KEY_NOT_UNIQUE_NAME
ERROR KEY : name is already in use. |
Fields inherited from class org.eclipse.egf.pattern.ui.editor.page.AbstractPatternPage.TextValidator |
---|
ERROR_KEY_REG_EXP |
Constructor Summary | |
---|---|
protected |
PatternSpecificationPage.ParameterNameValidator(Control control_p,
ParameterRelation currentParameter_p)
Constructor. |
Method Summary | |
---|---|
protected String |
getErrorMessageFor(String errorKey_p,
String value_p)
Get error message for given error key and erroneous value. |
void |
notifyChanged(IPatternModificationNotification notification_p)
Notify that a change to the pattern model has occurred. |
protected boolean |
onError(String text_p)
On error condition for current textual value. |
Methods inherited from class org.eclipse.egf.pattern.ui.editor.page.AbstractPatternPage.TextValidator |
---|
addErrorKey, getControl, handleValueChange, setRegularExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String ERROR_KEY_NOT_UNIQUE_NAME
Constructor Detail |
---|
protected PatternSpecificationPage.ParameterNameValidator(Control control_p, ParameterRelation currentParameter_p)
control_p
- currentParameter_p
- Method Detail |
---|
protected boolean onError(String text_p)
AbstractPatternPage.TextValidator
onError
in class AbstractPatternPage.TextValidator
text_p
- the new textual value.
AbstractPatternPage.TextValidator.onError(java.lang.String)
protected String getErrorMessageFor(String errorKey_p, String value_p)
AbstractPatternPage.TextValidator
getErrorMessageFor
in class AbstractPatternPage.TextValidator
AbstractPatternPage.TextValidator.getErrorMessageFor(java.lang.String, java.lang.String)
public void notifyChanged(IPatternModificationNotification notification_p)
IPatternModificationListener
notifyChanged
in interface IPatternModificationListener
notification_p
- a description of the change.IPatternModificationListener.notifyChanged(org.eclipse.egf.pattern.ui.internal.editor.IPatternModificationNotification)
|
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.