EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.validation
Class PatternValidationHelper

java.lang.Object
  extended by org.eclipse.egf.pattern.validation.PatternValidationHelper

public class PatternValidationHelper
extends Object


Nested Class Summary
static interface PatternValidationHelper.IValidationHandler
          Validation handler, that creates expected diagnostic structure for results.
 
Constructor Summary
PatternValidationHelper()
           
 
Method Summary
static Diagnostic validatePattern(Pattern pattern_p, PatternValidationHelper.IValidationHandler validationHandler_p)
          Validate given pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternValidationHelper

public PatternValidationHelper()
Method Detail

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:

EGF Engine
Release 0.1.0

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.