|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.action.ContributionItem
org.eclipse.jface.action.ControlContribution
de.cau.cs.kieler.sim.kiem.config.ui.ScheduleSelector
public class ScheduleSelector
The selection combobox for loading saved schedules.
Constructor Summary | |
---|---|
ScheduleSelector(int type)
Creates a new configuration selection box. |
Method Summary | |
---|---|
protected Control |
createControl(Composite parent)
|
void |
dispose()
|
void |
eventDispatched(KiemConfigEvent event)
Act on an event dispatched by the manager. |
void |
focusGained(FocusEvent e)
|
void |
focusLost(FocusEvent e)
|
ScheduleData |
getSelection()
Getter for the current selection in the combo. |
boolean |
isEnabled()
|
boolean |
isVisible()
|
void |
setEnabled(boolean enabled)
|
void |
update()
|
void |
widgetDefaultSelected(SelectionEvent e)
|
void |
widgetSelected(SelectionEvent e)
|
Methods inherited from class org.eclipse.jface.action.ControlContribution |
---|
computeWidth, fill, fill, fill |
Methods inherited from class org.eclipse.jface.action.ContributionItem |
---|
fill, getId, getParent, isDirty, isDynamic, isGroupMarker, isSeparator, saveWidgetState, setId, setParent, setVisible, toString, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScheduleSelector(int type)
type
- the type of the selector. either
ContributionManager.RECENT_COMBO or
ContributionManager.MATCHING_COMBO.Method Detail |
---|
protected Control createControl(Composite parent)
createControl
in class ControlContribution
public void setEnabled(boolean enabled)
public boolean isEnabled()
isEnabled
in interface IContributionItem
isEnabled
in class ContributionItem
public void dispose()
dispose
in interface IContributionItem
dispose
in class ContributionItem
public void update()
update
in interface IContributionItem
update
in class ContributionItem
public ScheduleData getSelection()
public boolean isVisible()
isVisible
in interface IContributionItem
isVisible
in class ContributionItem
public void widgetDefaultSelected(SelectionEvent e)
widgetDefaultSelected
in interface SelectionListener
public void widgetSelected(SelectionEvent e)
widgetSelected
in interface SelectionListener
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
public void focusLost(FocusEvent e)
focusLost
in interface FocusListener
public void eventDispatched(KiemConfigEvent event)
eventDispatched
in interface IKiemConfigEventListener
event
- the dispatched event.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |