edu.cmu.sei.aadl.model.provider
Class AObjectWIPActionFilter
java.lang.Object
edu.cmu.sei.aadl.model.provider.AObjectWIPActionFilter
- All Implemented Interfaces:
- org.eclipse.ui.IActionFilter
public class AObjectWIPActionFilter
- extends java.lang.Object
- implements org.eclipse.ui.IActionFilter
Action filter for AObjectWrapperItemProvider
objects, allowing access to the "AADLMetaModelClass" attribute
and the "AADLMetaModelKind" attribute.
The "AADLMetaModelClass" attribute tests the runtime class of
the given object against the named class in the value field.
If the object's class is a subclass of the named class then the attribute
is true.
The "AADLMetaModelKind" attribute allows the action to test
whether the object is part of an AADL instance model or part of
an AADL declarative model. Legal values are "instance" and
"declarative" respectively.
- Author:
- aarong
Method Summary |
boolean |
testAttribute(java.lang.Object target,
java.lang.String name,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
META_MODEL_CLASS
public static final java.lang.String META_MODEL_CLASS
- See Also:
- Constant Field Values
META_MODEL_KIND
public static final java.lang.String META_MODEL_KIND
- See Also:
- Constant Field Values
prototype
public static final AObjectWIPActionFilter prototype
testAttribute
public boolean testAttribute(java.lang.Object target,
java.lang.String name,
java.lang.String value)
- Specified by:
testAttribute
in interface org.eclipse.ui.IActionFilter