Class DtComboSelectView
- java.lang.Object
-
- com._1c.g5.aef2.views.View<LwtRenderingParameters,VM,LC>
-
- com._1c.g5.aef2.lwt.views.LwtView<VM,LC>
-
- com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardView<VM,LightEditorBar<LC>>
-
- com._1c.g5.v8.dt.ui.aef.lwt.views.AbstractDtSelectView<VM,LightText>
-
- com._1c.g5.v8.dt.ui.aef.lwt.views.AbstractDtComboView<ComboSelectViewModel>
-
- com._1c.g5.v8.dt.ui.aef.lwt.views.DtComboSelectView
-
- All Implemented Interfaces:
IView<LwtRenderingParameters,ComboSelectViewModel,LightEditorBar<LightText>>
public class DtComboSelectView extends AbstractDtComboView<ComboSelectViewModel>
The DT combo view with opportunity to specify a set of buttons that should be displayed.
-
-
Constructor Summary
Constructors Constructor Description DtComboSelectView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
bind(ComboSelectViewModel viewModel, LightEditorBar<LightText> lightControl)
Binds the view model and native control together to this view.protected org.eclipse.core.databinding.observable.list.IObservableList<?>
createComboViewerInput(ComboSelectViewModel viewModel)
Creates input for combo viewer.protected LightEditorBar<LightText>
createEditorBar(ComboSelectViewModel viewModel)
Creates only the editor bar control.-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.lwt.views.AbstractDtComboView
getViewer, processHotkeyExecution, processHotkeyRefresh, setupEditorBar
-
Methods inherited from class com._1c.g5.v8.dt.ui.aef.lwt.views.AbstractDtSelectView
attachButtonsToControl, createControl, handleButtonClick, handleEventChannelEvent
-
Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardView
createLightControl, setEnabledApperance
-
Methods inherited from class com._1c.g5.aef2.lwt.views.LwtView
getContentControl, handleFocusEvent, isControlDisposed, setContentControl, uiAsyncExec, uiSyncExec
-
Methods inherited from class com._1c.g5.aef2.views.View
bindListener, bindNativeControl, bindValue, bindValue, bindViewModel, getNativeControl, getParameters, getViewModel, initialize, manageObservable, queueAndWaitEvent, queueEvent, registerEventChannelListener, unbind, unbindNativeControl, unbindViewModel, unmanageObservable, unregisterEventChannelListener
-
-
-
-
Method Detail
-
bind
protected void bind(ComboSelectViewModel viewModel, LightEditorBar<LightText> lightControl)
Description copied from class:View
Binds the view model and native control together to this view. Override this method to customize the binding.- Overrides:
bind
in classAbstractDtComboView<ComboSelectViewModel>
- Parameters:
viewModel
- the view model to bind.lightControl
- the native control to bind.
-
createComboViewerInput
protected org.eclipse.core.databinding.observable.list.IObservableList<?> createComboViewerInput(ComboSelectViewModel viewModel)
Description copied from class:AbstractDtComboView
Creates input for combo viewer.- Specified by:
createComboViewerInput
in classAbstractDtComboView<ComboSelectViewModel>
- Parameters:
viewModel
- the view model.- Returns:
- the
IObservableList
instance that is the input for combo viewer.
-
createEditorBar
protected LightEditorBar<LightText> createEditorBar(ComboSelectViewModel viewModel)
Description copied from class:AbstractDtSelectView
Creates only the editor bar control. Does not creates buttons.- Overrides:
createEditorBar
in classAbstractDtComboView<ComboSelectViewModel>
- Parameters:
viewModel
- isSelectViewModel
successor model.- Returns:
- the newly created select control.
-
-