|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.viewmanagement.ACombination
de.cau.cs.kieler.ksbase.viewmanagement.combinations.KSBasECombination
public class KSBasECombination
The KSBasE combination used to execute a set of effects, selected by the user via the preference pages.
Constructor Summary | |
---|---|
KSBasECombination()
Creates a new KSBasECombination. |
Method Summary | |
---|---|
static void |
addEffect(String effectName,
int index)
Adds an effect to the list of effects to execute. |
static void |
changeIndex(String effectName,
int newIndex)
Changes the index of an effect. |
boolean |
evaluate(TriggerEventObject triggerEvent)
Evaluates if triggerEventObject is valid. |
void |
execute()
Executes the registered effects. |
static Vector<String> |
getEffects()
Gets the registered effects. |
List<ATrigger> |
getTriggers()
Returns the list of triggers for this combination. |
static void |
initalizeEffects(IPreferenceStore prefStore)
Reads the settings from the given preference store. |
static void |
removeEffect(String effectName)
Removes an effect from the list of effects to execute. |
static void |
storeEffects(IPreferenceStore prefStore)
Stores the effects in the given preference store. |
Methods inherited from class de.cau.cs.kieler.viewmanagement.ACombination |
---|
getEditPart, getRootEPAsParent, initialize, isActive, notifyTrigger, resetHashedEditParts, setActive, translateToEditPart, undoEffects, wrapup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KSBasECombination()
Method Detail |
---|
public boolean evaluate(TriggerEventObject triggerEvent)
evaluate
in class ACombination
triggerEvent
- The event to evaluate.
public void execute()
execute
in class ACombination
public List<ATrigger> getTriggers()
getTriggers
in class ACombination
public static final void addEffect(String effectName, int index)
effectName
- Name of the effectindex
- Index of the effectpublic static final void removeEffect(String effectName)
effectName
- Effect to removepublic static final void changeIndex(String effectName, int newIndex)
effectName
- Name of the effectnewIndex
- New indexpublic static final void storeEffects(IPreferenceStore prefStore)
prefStore
- The store to read frompublic static final void initalizeEffects(IPreferenceStore prefStore)
prefStore
- The preference store that contains the stored objectspublic static Vector<String> getEffects()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |