com.ibm.carma.ui.view
Class CarmaActionFilter

java.lang.Object
  extended by com.ibm.carma.ui.view.CarmaActionFilter
All Implemented Interfaces:
org.eclipse.ui.IActionFilter

public class CarmaActionFilter
extends java.lang.Object
implements org.eclipse.ui.IActionFilter

This IActionFilter allows users to test specific attributes on CARMAResource. The attributes tested explicitly are

Anything not in the above list will be tested from the resource's MetaInformation. If the item cannot be found, or does not match the given value, then we will return false


Field Summary
static java.lang.String CLASS
           
static java.lang.String COPYRIGHT
           
static java.lang.String NAME
           
static java.lang.String RAM
           
 
Constructor Summary
CarmaActionFilter()
           
 
Method Summary
 boolean testAttribute(java.lang.Object target, java.lang.String name, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

RAM

public static final java.lang.String RAM
See Also:
Constant Field Values

CLASS

public static final java.lang.String CLASS
See Also:
Constant Field Values
Constructor Detail

CarmaActionFilter

public CarmaActionFilter()
Method Detail

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