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
applyValidation, createControlCell, createLabelCell, createValidationCell, dispose, getGridDescription, isUnsettable, renderControl, setControlEnabled, setControlIdData, setValidationColor, setValidationForegroundColor
applyEnable, canHandleControlProcessor, createLabel, createValidationIcon, defaultHandleControlProcessor, defaultHandleControlProcessorForCell, getDataBindingContext, getEditingDomain, getEMFFormsDatabinding, getEMFFormsLabelProvider, getModelValue, getValidationBackgroundColor, getValidationForegroundColor, getValidationIcon, getVTViewTemplateProvider, hasLeftLabelAlignment, notifyChange, postInit, render
applyReadOnly, applyVisible, finalizeRendering, getControls, getDefaultFontName, init, preInit
checkRenderer, getReportService, getVElement, getViewModelContext
@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 © 2016. All rights reserved.