Class SwtSpinnerView
- 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<VM,org.eclipse.swt.widgets.Spinner>
-
- com._1c.g5.aef2.standard.swt.views.AbstractSwtSpinnerView<SpinnerViewModel>
-
- com._1c.g5.aef2.standard.swt.views.SwtSpinnerView
-
- All Implemented Interfaces:
IView<SwtRenderingParameters,SpinnerViewModel,org.eclipse.swt.widgets.Spinner>
public class SwtSpinnerView extends AbstractSwtSpinnerView<SpinnerViewModel>
The SWT spinner view.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.swt.views.AbstractSwtSpinnerView
AbstractSwtSpinnerView.NumberToNumberConverter<F extends Number,T extends Number>
-
-
Constructor Summary
Constructors Constructor Description SwtSpinnerView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.core.databinding.conversion.IConverter
createControlToModelConverter()
Creates control to model converter.protected org.eclipse.core.databinding.conversion.IConverter
createModelToControlConverter()
Creates model to control converter.protected org.eclipse.emf.ecore.EStructuralFeature
getMaximumFeature()
Gets the maximum feature.protected org.eclipse.emf.ecore.EStructuralFeature
getMinimumFeature()
Gets the minimum feature.protected org.eclipse.emf.ecore.EStructuralFeature
getValueFeature()
Gets the value feature.-
Methods inherited from class com._1c.g5.aef2.standard.swt.views.AbstractSwtSpinnerView
bind, computeNativeStyle, createControl
-
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
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
-
getMinimumFeature
protected org.eclipse.emf.ecore.EStructuralFeature getMinimumFeature()
Description copied from class:AbstractSwtSpinnerView
Gets the minimum feature.- Specified by:
getMinimumFeature
in classAbstractSwtSpinnerView<SpinnerViewModel>
- Returns:
- The minimum feature.
-
getMaximumFeature
protected org.eclipse.emf.ecore.EStructuralFeature getMaximumFeature()
Description copied from class:AbstractSwtSpinnerView
Gets the maximum feature.- Specified by:
getMaximumFeature
in classAbstractSwtSpinnerView<SpinnerViewModel>
- Returns:
- The maximum feature.
-
getValueFeature
protected org.eclipse.emf.ecore.EStructuralFeature getValueFeature()
Description copied from class:AbstractSwtSpinnerView
Gets the value feature.- Specified by:
getValueFeature
in classAbstractSwtSpinnerView<SpinnerViewModel>
- Returns:
- The value feature.
-
createControlToModelConverter
protected org.eclipse.core.databinding.conversion.IConverter createControlToModelConverter()
Description copied from class:AbstractSwtSpinnerView
Creates control to model converter.- Specified by:
createControlToModelConverter
in classAbstractSwtSpinnerView<SpinnerViewModel>
- Returns:
IConverter
instance, cannot benull
.
-
createModelToControlConverter
protected org.eclipse.core.databinding.conversion.IConverter createModelToControlConverter()
Description copied from class:AbstractSwtSpinnerView
Creates model to control converter.- Specified by:
createModelToControlConverter
in classAbstractSwtSpinnerView<SpinnerViewModel>
- Returns:
IConverter
instance, cannot benull
.
-
-