|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.sim.kiem.config.managers.AbstractManager
de.cau.cs.kieler.sim.kiem.config.managers.ContributionManager
public final class ContributionManager
Holds both combo boxes for selecting a configuration.
Field Summary | |
---|---|
static int |
MATCHING_COMBO
the selector should use the list of matching schedules ordered by priority. |
static int |
RECENT_COMBO
the selector should use the list of most recently used schedules. |
Method Summary | |
---|---|
ControlContribution[] |
getContributions()
Getter for all control contributions in this plugin. |
static ContributionManager |
getInstance()
Returns the singleton instance. |
ScheduleSelector |
getMatchingCombo()
Getter for the matchingCombo. |
ScheduleSelector |
getRecentCombo()
Getter for the recentCombo. |
boolean |
isComponentEnabled(int componentId)
Determine whether a component should be visible or not. |
boolean |
isInAdvancedMode()
Getter for the isInAdvancedMode. |
boolean |
isSummaryMessageDisabled()
Getter for the isSummaryMessageDisabled. |
void |
load()
load the saved data from the preference store. |
void |
save()
Saves the data inside the manager into the plugin's preference store. |
void |
setInAdvancedMode(boolean isInAdvancedModeParam)
Setter for the isInAdvancedMode. |
void |
setSummaryMessageDisabled(boolean isSummaryMessageDisabledParam)
Setter for the isSummaryMessageDisabled. |
void |
toggleCombo(int comboId,
boolean enabled)
Set the visibility of components. |
Methods inherited from class de.cau.cs.kieler.sim.kiem.config.managers.AbstractManager |
---|
addEventListener, load, notifyListeners, remove, removeEventListener, save, saveAll |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MATCHING_COMBO
public static final int RECENT_COMBO
Method Detail |
---|
public static ContributionManager getInstance()
public ControlContribution[] getContributions()
public ScheduleSelector getMatchingCombo()
public ScheduleSelector getRecentCombo()
public boolean isComponentEnabled(int componentId)
componentId
- the id of the component.
public void toggleCombo(int comboId, boolean enabled)
comboId
- the component id.enabled
- true if the component should be visible, false if not.public boolean isSummaryMessageDisabled()
public void setSummaryMessageDisabled(boolean isSummaryMessageDisabledParam)
isSummaryMessageDisabledParam
- the isInAdvancedMode to setpublic boolean isInAdvancedMode()
public void setInAdvancedMode(boolean isInAdvancedModeParam)
isInAdvancedModeParam
- the isInAdvancedMode to setpublic void load()
load
in class AbstractManager
public void save()
save
in class AbstractManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |