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.SectioncreateHeavyControl(org.eclipse.swt.widgets.Composite composite, SectionViewModel viewModel) Creates SWT control.protected voidunbind(SectionViewModel viewModel, SwtLightComposite lightControl) Unbinds the view model and the native control from this view.protected SwtLightCompositewrapHeavyControl(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
createControlMethods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractLwtStandardView
bind, createLightControl, setEnabledApperanceMethods inherited from class com._1c.g5.aef2.lwt.views.LwtView
getContentControl, handleFocusEvent, isControlDisposed, setContentControl, uiAsyncExec, uiSyncExecMethods 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:AbstractHeavyWrapperViewCreates SWT control.- Specified by:
createHeavyControlin 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:ViewUnbinds the view model and the native control from this view. Override this method to customize the unbinding.- Overrides:
unbindin classView<LwtRenderingParameters,SectionViewModel, SwtLightComposite> - Parameters:
viewModel- the view mode to unbind.lightControl- the native control to unbind.
-
wrapHeavyControl
Description copied from class:AbstractHeavyWrapperViewWraps heavy control into light control.- Overrides:
wrapHeavyControlin classAbstractHeavyCompositeWrapperView<SectionViewModel,org.eclipse.ui.forms.widgets.Section> - Parameters:
control- the native control.- Returns:
- light control.
-