de.cau.cs.kieler.kaom.karma.ptolemy.conditions
Class HasCommentsCondition

java.lang.Object
  extended by de.cau.cs.kieler.karma.ICustomCondition<EObject>
      extended by de.cau.cs.kieler.kaom.karma.ptolemy.conditions.HasCommentsCondition
All Implemented Interfaces:
ICondition<EObject>

public class HasCommentsCondition
extends ICustomCondition<EObject>

Condition to check whether a modelelement has a comment annotation thats supposed to be displayed.

Rating red

Field Summary
 
Fields inherited from class de.cau.cs.kieler.karma.ICustomCondition
key, value
 
Constructor Summary
HasCommentsCondition()
           
 
Method Summary
 boolean evaluate(EObject object)
          Evaluate this condition on the given object.
 
Methods inherited from class de.cau.cs.kieler.karma.ICustomCondition
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasCommentsCondition

public HasCommentsCondition()
Method Detail

evaluate

public boolean evaluate(EObject object)
Evaluate this condition on the given object.

Parameters:
object - a target object
Returns:
true if the condition is met for the object