org.eclipse.gmf.graphdef.editor.expressions
Class GMFGraphAbstractExpression
java.lang.Object
org.eclipse.gmf.graphdef.editor.expressions.GMFGraphAbstractExpression
public abstract class GMFGraphAbstractExpression
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMFGraphAbstractExpression
protected GMFGraphAbstractExpression(String body,
org.eclipse.emf.ecore.EClassifier context)
setStatus
protected void setStatus(int severity,
String message,
Throwable throwable)
getStatus
public org.eclipse.core.runtime.IStatus getStatus()
body
public String body()
context
public org.eclipse.emf.ecore.EClassifier context()
doEvaluate
protected abstract Object doEvaluate(Object context,
Map env)
evaluate
public Object evaluate(Object context)
evaluate
public Object evaluate(Object context,
Map env)
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
Copyright © 2011. All Rights Reserved.