|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sysord.mad.widget.AbstractSpecificWidget
com.sysord.mad.ui.swt.widget.AbstractSWTWidget
com.sysord.mad.ui.swt.widget.SWTComboWidget
public class SWTComboWidget
Default SWT implementation of the SingleSelectWidget
.
Field Summary |
---|
Fields inherited from class com.sysord.mad.ui.swt.widget.AbstractSWTWidget |
---|
GRAY, NAVIGATION_COLOR, PALE_RED, specificContextHolder, WHITE |
Fields inherited from class com.sysord.mad.widget.AbstractSpecificWidget |
---|
ID |
Constructor Summary | |
---|---|
SWTComboWidget()
|
Method Summary | |
---|---|
protected void |
addComboListeners(com.sysord.mad.widget.SingleSelectWidget<java.lang.Object> widget,
org.eclipse.jface.viewers.ComboViewer comboViewer,
org.eclipse.swt.widgets.Label errorLabel)
Add the needed listeners to the ComboViewer widget and its corresponding
SingleSelectWidget . |
protected void |
checkMadWidget(com.sysord.mad.widget.Widget<?> widget)
Checks the widget type and raises an exception if the type is not valid for this specific widget. |
protected org.eclipse.swt.widgets.Control |
createSpecificWidget(com.sysord.mad.widget.Widget<?> madWidget)
Creates the SWT widget. |
Methods inherited from class com.sysord.mad.ui.swt.widget.AbstractSWTWidget |
---|
addCommandsButtons, addControlDisposedListener, addFlexibleCommandsButtons, addVisibilityListener, castWidget, createCommandButton, createWidget, getSwtContext, getUsedCommands, refreshView |
Methods inherited from class com.sysord.mad.widget.AbstractSpecificWidget |
---|
candidatesToElementList, createLabelColumn, createSelection, createSelection, getFormatExprEvaluationService, getId, getInjector, getLogger, getMao, getValidationService, getViewBuilder, setId, toCandidateElement, toCandidateList, validate, widgetValueEqualsCandidate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SWTComboWidget()
Method Detail |
---|
protected void checkMadWidget(com.sysord.mad.widget.Widget<?> widget)
AbstractSWTWidget
checkMadWidget
in class AbstractSWTWidget
protected org.eclipse.swt.widgets.Control createSpecificWidget(com.sysord.mad.widget.Widget<?> madWidget)
AbstractSWTWidget
This method is called after #checkMadWidget()
, the widget can be casted
with
createSpecificWidget
in class AbstractSWTWidget
protected void addComboListeners(com.sysord.mad.widget.SingleSelectWidget<java.lang.Object> widget, org.eclipse.jface.viewers.ComboViewer comboViewer, org.eclipse.swt.widgets.Label errorLabel)
ComboViewer
widget and its corresponding
SingleSelectWidget
.
widget
- comboViewer
- errorLabel
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |