org.argouml.uml
Class PredicateNotInTrash

java.lang.Object
  extended by org.argouml.uml.PredicateNotInTrash
All Implemented Interfaces:
Predicate

public class PredicateNotInTrash
extends java.lang.Object
implements Predicate

A Predicate to determine if a given object is in the Project Trash or not. Required so that the GoListToOfffenderItem does not display offenders, which are already in the trash bin.


Constructor Summary
PredicateNotInTrash()
           
 
Method Summary
 boolean evaluate(java.lang.Object obj)
          Evaluate the predicate for the given object and return true or false.
 boolean predicate(java.lang.Object obj)
          Deprecated. for 0.27.3 by tfmorris. The type org.tigris.gef.util.Predicate (and this method) will be removed in the next release.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredicateNotInTrash

public PredicateNotInTrash()
Method Detail

predicate

@Deprecated
public boolean predicate(java.lang.Object obj)
Deprecated. for 0.27.3 by tfmorris. The type org.tigris.gef.util.Predicate (and this method) will be removed in the next release.

See Also:
org.tigris.gef.util.Predicate#predicate(java.lang.Object)

evaluate

public boolean evaluate(java.lang.Object obj)
Description copied from interface: Predicate
Evaluate the predicate for the given object and return true or false.

Specified by:
evaluate in interface Predicate
Parameters:
obj - object to be tested
Returns:
boolean indicating whether predicate evaluated true or false.


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook