public final class ElementFilterOperation
extends java.lang.Object
implements org.eclipse.gmf.runtime.common.core.service.IOperation
| Constructor and Description |
|---|
ElementFilterOperation(IElementFilterContext context,
java.lang.Object toTest)
Constructs a new
ElementFilterOperation for the
given context and object to test. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(org.eclipse.gmf.runtime.common.core.service.IProvider provider) |
IElementFilterContext |
getContext()
Return the context in which this filter was queried.
|
java.lang.Object |
getObject()
Return the object to test against the filter.
|
public ElementFilterOperation(IElementFilterContext context, java.lang.Object toTest)
ElementFilterOperation for the
given context and object to test.context - the context in which this filter was queriedtoTest - object to compare against the filterpublic IElementFilterContext getContext()
public java.lang.Object getObject()
public java.lang.Object execute(org.eclipse.gmf.runtime.common.core.service.IProvider provider)
execute in interface org.eclipse.gmf.runtime.common.core.service.IOperation