|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.common.ui.services.action.filter.TestAttributeOperation
public class TestAttributeOperation
An operation that performs attribute tests by determining whether a specific attribute matches the state of a target object.
Constructor Summary | |
---|---|
TestAttributeOperation(java.lang.Object target,
java.lang.String name,
java.lang.String value)
Constructs a new test attribute operation with the specified target object, attribute name, and attribute value. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" this test attribute operation. |
java.lang.Object |
execute(IProvider provider)
Executes this test attribute operation on the specified provider. |
java.lang.String |
getName()
Retrieves the value of the name instance variable. |
java.lang.Object |
getTarget()
Retrieves the value of the target instance variable. |
java.lang.String |
getValue()
Retrieves the value of the value instance variable. |
int |
hashCode()
Retrieves a hash code value for this test attribute operation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestAttributeOperation(java.lang.Object target, java.lang.String name, java.lang.String value)
target
- The target of the attribute test.name
- The name of the attribute to test.value
- The value of the attribute to test.Method Detail |
---|
public java.lang.Object getTarget()
target
instance variable.
target
instance variable.public java.lang.String getName()
name
instance variable.
name
instance variable.public java.lang.String getValue()
value
instance variable.
value
instance variable.public int hashCode()
java.util.HashMap
.
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- The reference object with which to compare.
true
if this test attribute operation is the same
as the object argument; false
otherwise.Object.equals(Object)
public java.lang.Object execute(IProvider provider)
execute
in interface IOperation
provider
- The provider on which to execute this operation.
IOperation.execute(IProvider)
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.