public class StackItemControlRenderer extends ExpectedValueControlRenderer
ExpectedValueControlRenderer.ModelToTargetUpdateStrategy, ExpectedValueControlRenderer.TargetToModelUpdateStrategy
CUSTOM_VARIANT
Constructor and Description |
---|
StackItemControlRenderer(VControl vElement,
ViewModelContext viewContext,
ReportService reportService)
Default constructor.
|
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
@Inject public StackItemControlRenderer(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)
onSelectButton
in class ExpectedValueControlRenderer
control
- the label which should be used to set the valueorg.eclipse.emf.ecp.view.internal.editor.controls.ExpectedValueControlRenderer#onSelectButton(org.eclipse.swt.widgets.Text)
Copyright © 2016. All rights reserved.