Class LwtSectionView
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,LC>
com._1c.g5.aef2.standard.lwt.views.AbstractHeavyWrapperView<VM,SwtLightComposite,NC>
com._1c.g5.aef2.standard.lwt.views.AbstractHeavyCompositeWrapperView<SectionViewModel,org.eclipse.ui.forms.widgets.Section>
com._1c.g5.aef2.standard.lwt.views.LwtSectionView
- All Implemented Interfaces:
IView<LwtRenderingParameters,
SectionViewModel, SwtLightComposite>
public class LwtSectionView
extends AbstractHeavyCompositeWrapperView<SectionViewModel,org.eclipse.ui.forms.widgets.Section>
The LWT section view.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.ui.forms.widgets.Section
createHeavyControl
(org.eclipse.swt.widgets.Composite composite, SectionViewModel viewModel) Creates SWT control.protected void
unbind
(SectionViewModel viewModel, SwtLightComposite lightControl) Unbinds the view model and the native control from this view.protected SwtLightComposite
wrapHeavyControl
(org.eclipse.ui.forms.widgets.Section control) Wraps heavy control into light control.Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractHeavyWrapperView
createControl
Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardView
bind, 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, handleEventChannelEvent, initialize, manageObservable, queueAndWaitEvent, queueEvent, registerEventChannelListener, unbindNativeControl, unbindViewModel, unmanageObservable, unregisterEventChannelListener
-
Constructor Details
-
LwtSectionView
public LwtSectionView()
-
-
Method Details
-
createHeavyControl
protected org.eclipse.ui.forms.widgets.Section createHeavyControl(org.eclipse.swt.widgets.Composite composite, SectionViewModel viewModel) Description copied from class:AbstractHeavyWrapperView
Creates SWT control.- Specified by:
createHeavyControl
in classAbstractHeavyWrapperView<SectionViewModel,
SwtLightComposite, org.eclipse.ui.forms.widgets.Section> - Parameters:
composite
- the composite.viewModel
- the view model.- Returns:
- the newly created SWT control.
-
unbind
Description copied from class:View
Unbinds the view model and the native control from this view. Override this method to customize the unbinding.- Overrides:
unbind
in classView<LwtRenderingParameters,
SectionViewModel, SwtLightComposite> - Parameters:
viewModel
- the view mode to unbind.lightControl
- the native control to unbind.
-
wrapHeavyControl
Description copied from class:AbstractHeavyWrapperView
Wraps heavy control into light control.- Overrides:
wrapHeavyControl
in classAbstractHeavyCompositeWrapperView<SectionViewModel,
org.eclipse.ui.forms.widgets.Section> - Parameters:
control
- the native control.- Returns:
- light control.
-