Class SwtSeparatorView
- 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<SeparatorViewModel,org.eclipse.swt.widgets.Label>
-
- com._1c.g5.aef2.standard.swt.views.SwtSeparatorView
-
- All Implemented Interfaces:
IView<SwtRenderingParameters,SeparatorViewModel,org.eclipse.swt.widgets.Label>
public class SwtSeparatorView extends SwtStandardView<SeparatorViewModel,org.eclipse.swt.widgets.Label>
The SWT separator view.
-
-
Constructor Summary
Constructors Constructor Description SwtSeparatorView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
computeNativeStyle(SeparatorViewModel viewModel)
Computes an SWT widget style flags.protected org.eclipse.swt.widgets.Label
createControl(org.eclipse.swt.widgets.Composite parent, SeparatorViewModel viewModel)
Creates a native control for the view without decorations.-
Methods inherited from class com._1c.g5.aef2.standard.swt.views.SwtStandardView
bind, createNativeControl, setEnabledApperance
-
Methods inherited from class com._1c.g5.aef2.swt.views.SwtView
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
-
-
-
-
Method Detail
-
createControl
protected org.eclipse.swt.widgets.Label createControl(org.eclipse.swt.widgets.Composite parent, SeparatorViewModel viewModel)
Description copied from class:SwtStandardView
Creates a native control for the view without decorations.- Specified by:
createControl
in classSwtStandardView<SeparatorViewModel,org.eclipse.swt.widgets.Label>
- Parameters:
parent
- the parent composite to place a control in.viewModel
- the view mode to create a control for.- Returns:
- the newly created control
-
computeNativeStyle
protected int computeNativeStyle(SeparatorViewModel viewModel)
Description copied from class:SwtView
Computes an SWT widget style flags. Override it to customize the flags.- Overrides:
computeNativeStyle
in classSwtView<SeparatorViewModel,org.eclipse.swt.widgets.Label>
- Parameters:
viewModel
- the view model to compute a style from.- Returns:
- the computed style.
- See Also:
Widget.getStyle()
-
-