de.cau.cs.kieler.karma
Class ICustomCondition<T>
java.lang.Object
de.cau.cs.kieler.karma.ICustomCondition<T>
- Type Parameters:
T
- the type for which the condition is used
- All Implemented Interfaces:
- ICondition<T>
- Direct Known Subclasses:
- AnnotationCondition, AnnotationExistsCondition, ConnectionSourceCondition, HasCommentsCondition, IEditPartSensitiveCondition, NoPortsCondition, PortsCondition, RecursiveAnnotationCondition, TrueCondition
public abstract class ICustomCondition<T>
- extends Object
- implements ICondition<T>
Interface for conditions that can be used with an extension point.
- Rating

Field Summary |
protected String |
key
Key for referencing the annotation. |
protected String |
value
Desired value of the annotation. |
Method Summary |
void |
initialize(String thekey,
String thevalue)
Feed the condition with some initial values because extension points support only the
standard constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
protected String key
- Key for referencing the annotation.
value
protected String value
- Desired value of the annotation.
ICustomCondition
public ICustomCondition()
initialize
public void initialize(String thekey,
String thevalue)
- Feed the condition with some initial values because extension points support only the
standard constructor.
- Parameters:
thekey
- a key for referencing something.thevalue
- the value the condition could evaluate for.