org.eclipse.gmf.graphdef.editor.expressions
Class GMFGraphAbstractExpression

java.lang.Object
  extended by org.eclipse.gmf.graphdef.editor.expressions.GMFGraphAbstractExpression

public abstract class GMFGraphAbstractExpression
extends Object

Generated

Constructor Summary
protected GMFGraphAbstractExpression(String body, org.eclipse.emf.ecore.EClassifier context)
           
 
Method Summary
 String body()
           
 org.eclipse.emf.ecore.EClassifier context()
           
protected abstract  Object doEvaluate(Object context, Map env)
           
 Object evaluate(Object context)
           
 Object evaluate(Object context, Map env)
           
 org.eclipse.core.runtime.IStatus getStatus()
           
static Object performCast(Object value, org.eclipse.emf.ecore.EDataType targetType)
          Expression may return number value which is not directly compatible with feature type (e.g.
protected  void setStatus(int severity, String message, Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMFGraphAbstractExpression

protected GMFGraphAbstractExpression(String body,
                                     org.eclipse.emf.ecore.EClassifier context)
Generated
Method Detail

setStatus

protected void setStatus(int severity,
                         String message,
                         Throwable throwable)
Generated

getStatus

public org.eclipse.core.runtime.IStatus getStatus()
Generated

body

public String body()
Generated

context

public org.eclipse.emf.ecore.EClassifier context()
Generated

doEvaluate

protected abstract Object doEvaluate(Object context,
                                     Map env)
Generated

evaluate

public Object evaluate(Object context)
Generated

evaluate

public Object evaluate(Object context,
                       Map env)
Generated

performCast

public static Object performCast(Object value,
                                 org.eclipse.emf.ecore.EDataType targetType)
Expression may return number value which is not directly compatible with feature type (e.g. Double when Integer is expected), or EEnumLiteral meta-object when literal instance is expected

Generated


Copyright © 2012. All Rights Reserved.