EGF Engine
Release 0.1.0

org.eclipse.egf.pattern.ecore.condition
Class AbstractPatternCondition

java.lang.Object
  extended by org.eclipse.egf.pattern.ecore.condition.AbstractPatternCondition
All Implemented Interfaces:
IPatternCondition

public abstract class AbstractPatternCondition
extends Object
implements IPatternCondition

A default root implementation that provides a context to the condition class real implementation.


Constructor Summary
AbstractPatternCondition()
           
 
Method Summary
protected  org.eclipse.egf.core.context.ProductionContext getContext()
          Get available production context.
 void setContext(org.eclipse.egf.core.context.ProductionContext context_p)
          Set production context available for this condition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.egf.pattern.ecore.condition.IPatternCondition
check
 

Constructor Detail

AbstractPatternCondition

public AbstractPatternCondition()
Method Detail

setContext

public void setContext(org.eclipse.egf.core.context.ProductionContext context_p)
Description copied from interface: IPatternCondition
Set production context available for this condition.

Specified by:
setContext in interface IPatternCondition
Parameters:
context_p - the context to use as available one. null if none.
See Also:
IPatternCondition.setContext(org.eclipse.egf.core.context.ProductionContext)

getContext

protected org.eclipse.egf.core.context.ProductionContext getContext()
Get available production context.

Returns:
null if none is available.

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.