de.cau.cs.kieler.karma
Class ConditionProvider

java.lang.Object
  extended by de.cau.cs.kieler.karma.ConditionProvider

public final class ConditionProvider
extends Object

Rating red

Field Summary
static String EXTENSION_POINT_ID
          extension point id.
 
Method Summary
static ConditionProvider getInstance()
          Standard singleton getInstance.
 List<HashMap<String,Object>> getPairs(String callingEditPart)
          Method that will read the extension point and return a list of pairs with a figure and a condition on which the figure should be shown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSION_POINT_ID

public static final String EXTENSION_POINT_ID
extension point id.

See Also:
Constant Field Values
Method Detail

getInstance

public static ConditionProvider getInstance()
Standard singleton getInstance.

Returns:
the singleton instance

getPairs

public List<HashMap<String,Object>> getPairs(String callingEditPart)
Method that will read the extension point and return a list of pairs with a figure and a condition on which the figure should be shown.

Parameters:
callingEditPart - the editor for which the returned conditions will be defined
Returns:
list of all condition figure pairs that fit the given editor