Class LwtLinkView
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,SwtLightControl,NC>
com._1c.g5.aef2.standard.lwt.views.AbstractHeavyControlWrapperView<LinkViewModel,org.eclipse.ui.forms.widgets.Hyperlink>
com._1c.g5.aef2.standard.lwt.views.LwtLinkView
- All Implemented Interfaces:
IView<LwtRenderingParameters,
LinkViewModel, SwtLightControl>
public class LwtLinkView
extends AbstractHeavyControlWrapperView<LinkViewModel,org.eclipse.ui.forms.widgets.Hyperlink>
The LWT link view.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
bind
(LinkViewModel viewModel, SwtLightControl lightControl) Binds the view model and native control together to this view.protected org.eclipse.ui.forms.widgets.Hyperlink
createHeavyControl
(org.eclipse.swt.widgets.Composite parent, LinkViewModel viewModel) Creates SWT control.Methods inherited from class com._1c.g5.aef2.standard.lwt.views.AbstractHeavyControlWrapperView
wrapHeavyControl
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
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, unbind, unbindNativeControl, unbindViewModel, unmanageObservable, unregisterEventChannelListener
-
Constructor Details
-
LwtLinkView
public LwtLinkView()
-
-
Method Details
-
bind
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 classAbstractLwtStandardView<LinkViewModel,
SwtLightControl> - Parameters:
viewModel
- the view model to bind.lightControl
- the native control to bind.
-
createHeavyControl
protected org.eclipse.ui.forms.widgets.Hyperlink createHeavyControl(org.eclipse.swt.widgets.Composite parent, LinkViewModel viewModel) Description copied from class:AbstractHeavyWrapperView
Creates SWT control.- Specified by:
createHeavyControl
in classAbstractHeavyWrapperView<LinkViewModel,
SwtLightControl, org.eclipse.ui.forms.widgets.Hyperlink> - Parameters:
parent
- the composite.viewModel
- the view model.- Returns:
- the newly created SWT control.
-