public class LinkFeatureControlRenderer extends EditableEReferenceLabelControlSWTRenderer
domain model feature
to a
VFeaturePathDomainModelReference
.CUSTOM_VARIANT
Constructor and Description |
---|
LinkFeatureControlRenderer(VControl vElement,
ViewModelContext viewContext,
ReportService reportService)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.ecore.EClass |
getRootEClass(org.eclipse.emf.common.notify.Notifier notifier)
Allows to retrieve the root eclass necessary to select the
VFeaturePathDomainModelReference . |
protected void |
linkValue(org.eclipse.swt.widgets.Shell shell)
This method should be overwritten to provide a correct selection mechanism.
|
createSWTControl, dispose, showLinkValueFailedMessageDialog
createBindings, getUnsetText
createControl, rootDomainModelChanged
applyValidation, createControlCell, createLabelCell, createValidationCell, 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 LinkFeatureControlRenderer(VControl vElement, ViewModelContext viewContext, ReportService reportService)
vElement
- the view model element to be renderedviewContext
- the view contextreportService
- the ReportService
protected void linkValue(org.eclipse.swt.widgets.Shell shell)
EditableEReferenceLabelControlSWTRenderer
linkValue
in class EditableEReferenceLabelControlSWTRenderer
shell
- the Shellprotected org.eclipse.emf.ecore.EClass getRootEClass(org.eclipse.emf.common.notify.Notifier notifier)
VFeaturePathDomainModelReference
.notifier
- The Notifier
triggering the selectionEClass
that should be used as rootCopyright © 2016. All rights reserved.