public class AutocompleteTextControlSWTRenderer extends SimpleControlJFaceViewerSWTRenderer
CUSTOM_VARIANT
Constructor and Description |
---|
AutocompleteTextControlSWTRenderer(VControl vElement,
ViewModelContext viewContext,
ReportService reportService,
EMFFormsDatabinding emfFormsDatabinding,
EMFFormsLabelProvider emfFormsLabelProvider,
VTViewTemplateProvider vtViewTemplateProvider)
Constructs a new
AutocompleteViewModelService . |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.core.databinding.Binding[] |
createBindings(org.eclipse.jface.viewers.Viewer viewer)
Create the
Bindings for this controls. |
protected org.eclipse.jface.viewers.Viewer |
createJFaceViewer(org.eclipse.swt.widgets.Composite parent)
Creates the
Viewer . |
protected String |
getUnsetText()
Provide the unset text to show on the label when value is unset.
|
createControl, rootDomainModelChanged
applyReadOnly, applyValidation, createControlCell, createDefaultUnsettableStyleProperty, createLabelCell, createValidationCell, dispose, getGridDescription, getLabelWidth, getUnsettableStyleProperty, isUnsettable, renderControl, setControlEnabled, setControlIdData, setValidationColor, setValidationForegroundColor
applyEnable, applyUnchangeableFeature, canHandleControlProcessor, createLabel, createValidationIcon, defaultHandleControlProcessor, defaultHandleControlProcessorForCell, getDataBindingContext, getEditingDomain, getEMFFormsDatabinding, getEMFFormsLabelProvider, getLabelStyleBits, getModelValue, getValidationBackgroundColor, getValidationForegroundColor, getValidationIcon, getVTViewTemplateProvider, hasLeftLabelAlignment, isUnchangeableFeature, notifyChange, postInit, render
applyValidation, applyVisible, canReveal, finalizeRendering, getControls, getDefaultFontName, ignoreEnableOnReadOnly, init, isRenderingFinished, preInit, scrollToReveal, scrollToReveal
checkRenderer, getRenderer, getReportService, getVElement, getViewModelContext, register
@Inject public AutocompleteTextControlSWTRenderer(VControl vElement, ViewModelContext viewContext, ReportService reportService, EMFFormsDatabinding emfFormsDatabinding, EMFFormsLabelProvider emfFormsLabelProvider, VTViewTemplateProvider vtViewTemplateProvider)
AutocompleteViewModelService
.vElement
- the view model element to be renderedviewContext
- the view contextreportService
- The ReportService
emfFormsDatabinding
- The EMFFormsDatabinding
emfFormsLabelProvider
- The EMFFormsLabelProvider
vtViewTemplateProvider
- The VTViewTemplateProvider
protected org.eclipse.core.databinding.Binding[] createBindings(org.eclipse.jface.viewers.Viewer viewer) throws DatabindingFailedException
Bindings
for this controls.createBindings
in class SimpleControlJFaceViewerSWTRenderer
viewer
- the Viewer
to create the binding forDatabindingFailedException
- if the creation of the bindings failedSimpleControlJFaceViewerSWTRenderer.createBindings(org.eclipse.jface.viewers.Viewer)
protected org.eclipse.jface.viewers.Viewer createJFaceViewer(org.eclipse.swt.widgets.Composite parent) throws DatabindingFailedException
Viewer
.createJFaceViewer
in class SimpleControlJFaceViewerSWTRenderer
parent
- the Composite
to use as a parentViewer
DatabindingFailedException
- if the databinding failsSimpleControlJFaceViewerSWTRenderer.createJFaceViewer(org.eclipse.swt.widgets.Composite)
protected String getUnsetText()
getUnsetText
in class SimpleControlSWTRenderer
SimpleControlSWTRenderer.getUnsetText()
Copyright © 2019. All rights reserved.