Class SwtTextPreviewView
- java.lang.Object
-
- com._1c.g5.aef2.views.View<SwtRenderingParameters,VM,NC>
-
- com._1c.g5.aef2.swt.views.SwtView<VM,NC>
-
- com._1c.g5.aef2.standard.swt.views.SwtStandardView<TextPreviewControlViewModel,org.eclipse.swt.widgets.Control>
-
- com._1c.g5.v8.dt.ui.aef.swt.views.SwtTextPreviewView
-
- All Implemented Interfaces:
IView<SwtRenderingParameters,TextPreviewControlViewModel,org.eclipse.swt.widgets.Control>
public class SwtTextPreviewView extends SwtStandardView<TextPreviewControlViewModel,org.eclipse.swt.widgets.Control>
The SWT text preview view.
-
-
Constructor Summary
Constructors Constructor Description SwtTextPreviewView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(TextPreviewControlViewModel viewModel, org.eclipse.swt.widgets.Control nativeControl)
Binds the view model and native control together to this view.org.eclipse.swt.widgets.Control
createControl(org.eclipse.swt.widgets.Composite parent, TextPreviewControlViewModel viewModel)
Creates a native control for the view without decorations.void
unbind(TextPreviewControlViewModel viewModel, org.eclipse.swt.widgets.Control nativeControl)
Unbinds the view model and the native control from this view.-
Methods inherited from class com._1c.g5.aef2.standard.swt.views.SwtStandardView
createNativeControl, setEnabledApperance
-
Methods inherited from class com._1c.g5.aef2.swt.views.SwtView
computeNativeStyle, 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
-
-
-
-
Method Detail
-
bind
public void bind(TextPreviewControlViewModel viewModel, org.eclipse.swt.widgets.Control nativeControl)
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 classSwtStandardView<TextPreviewControlViewModel,org.eclipse.swt.widgets.Control>
- Parameters:
viewModel
- the view model to bind.nativeControl
- the native control to bind.
-
createControl
public org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent, TextPreviewControlViewModel viewModel)
Description copied from class:SwtStandardView
Creates a native control for the view without decorations.- Specified by:
createControl
in classSwtStandardView<TextPreviewControlViewModel,org.eclipse.swt.widgets.Control>
- Parameters:
parent
- the parent composite to place a control in.viewModel
- the view mode to create a control for.- Returns:
- the newly created control
-
unbind
public void unbind(TextPreviewControlViewModel viewModel, org.eclipse.swt.widgets.Control nativeControl)
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<SwtRenderingParameters,TextPreviewControlViewModel,org.eclipse.swt.widgets.Control>
- Parameters:
viewModel
- the view mode to unbind.nativeControl
- the native control to unbind.
-
-