|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectValidator
org.eclipse.egf.pattern.util.PatternValidator
public class PatternValidator
The Validator for the model.
PatternPackage
Field Summary | |
---|---|
protected static int |
DIAGNOSTIC_CODE_COUNT
A constant with a fixed name that can be used as the base value for additional hand written constants in a derived class |
static String |
DIAGNOSTIC_SOURCE
A constant for the source of diagnostic codes from this package |
protected EcoreValidator |
ecoreValidator
The cached base package validator |
static PatternValidator |
INSTANCE
The cached model package |
Constructor Summary | |
---|---|
PatternValidator()
Creates an instance of the switch |
Method Summary | |
---|---|
protected EPackage |
getEPackage()
Returns the package of this validator switch |
ResourceLocator |
getResourceLocator()
Returns the resource locator that will be used to fetch messages for this validator's diagnostics |
protected boolean |
validate(int classifierID,
Object value,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Calls validateXXX for the corresponding classifier of the model |
boolean |
validateGenerator(Generator generator,
DiagnosticChain diagnostics,
Map<Object,Object> context)
|
boolean |
validatePattern_overall(Pattern pattern,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the overall constraint of 'Pattern'. |
boolean |
validatePattern(Pattern pattern,
DiagnosticChain diagnostics,
Map<Object,Object> context)
|
boolean |
validatePPropertyChangeListener(PropertyChangeListener pPropertyChangeListener,
DiagnosticChain diagnostics,
Map<Object,Object> context)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PatternValidator INSTANCE
public static final String DIAGNOSTIC_SOURCE
source
of diagnostic codes
from this package.
org.eclipse.emf.common.util.Diagnostic#getSource()
,
org.eclipse.emf.common.util.Diagnostic#getCode()
,
Constant Field Valuesprotected static final int DIAGNOSTIC_CODE_COUNT
protected EcoreValidator ecoreValidator
Constructor Detail |
---|
public PatternValidator()
Method Detail |
---|
protected EPackage getEPackage()
protected boolean validate(int classifierID, Object value, DiagnosticChain diagnostics, Map<Object,Object> context)
validateXXX
for the corresponding classifier of the model.
public boolean validateGenerator(Generator generator, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validatePattern(Pattern pattern, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validatePattern_overall(Pattern pattern, DiagnosticChain diagnostics, Map<Object,Object> context)
public boolean validatePPropertyChangeListener(PropertyChangeListener pPropertyChangeListener, DiagnosticChain diagnostics, Map<Object,Object> context)
public ResourceLocator getResourceLocator()
|
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.