public class KeyValueControlRenderer extends ExpectedValueControlRenderer
ExpectedValueControlRenderer.ModelToTargetUpdateStrategy, ExpectedValueControlRenderer.TargetToModelUpdateStrategy
CUSTOM_VARIANT
Constructor and Description |
---|
KeyValueControlRenderer(VControl vElement,
ViewModelContext viewContext,
ReportService reportService) |
Modifier and Type | Method and Description |
---|---|
protected void |
onSelectButton(org.eclipse.swt.widgets.Label control)
Called when the select value button is pressed.
|
createBindings, createSWTControl, createTooltipBinding, getObservedEObject, getSelectedObject, getUnsetText
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
public KeyValueControlRenderer(VControl vElement, ViewModelContext viewContext, ReportService reportService)
vElement
- the view model element to be renderedviewContext
- the view contextreportService
- the ReportService
protected void onSelectButton(org.eclipse.swt.widgets.Label control)
ExpectedValueControlRenderer
onSelectButton
in class ExpectedValueControlRenderer
control
- the label which should be used to set the valueCopyright © 2016. All rights reserved.