org.eclipse.egf.pattern.validation
Class PatternValidationHelper
java.lang.Object
org.eclipse.egf.pattern.validation.PatternValidationHelper
public class PatternValidationHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternValidationHelper
public PatternValidationHelper()
validatePattern
public static Diagnostic validatePattern(Pattern pattern_p,
PatternValidationHelper.IValidationHandler validationHandler_p)
- Validate given pattern.
- Parameters:
pattern_p
- validationHandler_p
- A validation handler, that allows the creation of a specific parent diagnostic in case of an error.
null
if returned one is sufficient.
Note that this is only required if diagnostic is to be shown in a user dialog, default diagnostic message might then seem too confusing.
- Returns:
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.