public class ColumnEnablementConfigurationDMRRenderer extends LinkControlSWTRenderer
LinkControlSWTRenderer
which will streamline the column dmr selection.CUSTOM_VARIANT
Constructor and Description |
---|
ColumnEnablementConfigurationDMRRenderer(VControl vElement,
ViewModelContext viewContext,
ReportService reportService,
EMFFormsDatabinding emfFormsDatabinding,
EMFFormsLabelProvider emfFormsLabelProvider,
VTViewTemplateProvider vtViewTemplateProvider,
EMFFormsLocalizationService localizationService,
ImageRegistryService imageRegistryService,
EMFFormsEditSupport emfFormsEditSuppport) |
Modifier and Type | Method and Description |
---|---|
protected void |
createNewReferenceButton(org.eclipse.swt.widgets.Composite parent,
String elementDisplayName)
Called by
LinkControlSWTRenderer.createButtons(Composite) to create the create new reference button. |
protected ReferenceService |
getReferenceService() |
createAddReferenceButton, createBindings, createButtons, createDeleteReferenceButton, createSWTControl, dispose, getAddReferenceButtonImage, getDefaultReferenceStyle, getDeleteReferenceButtonImage, getIconBundle, getImage, getImage, getNewReferenceButtonImage, getNumButtons, getText, getUnsetText, linkClicked, openNewReferenceInContext
createControl, getFeature, rootDomainModelChanged, withPreSetValidation
applyValidation, createControlCell, createDefaultUnsettableStyleProperty, createLabelCell, createValidationCell, getGridDescription, getLabelWidth, getUnsettableStyleProperty, isUnsettable, renderControl, setControlEnabled, setControlIdData, setValidationColor, setValidationForegroundColor
applyEnable, applyReadOnly, applyUnchangeableFeature, canHandleControlProcessor, createLabel, createValidationIcon, defaultHandleControlProcessor, defaultHandleControlProcessorForCell, getDataBindingContext, getEditingDomain, getEMFFormsDatabinding, getEMFFormsLabelProvider, getLabelStyleBits, getModelValue, getValidationBackgroundColor, getValidationForegroundColor, getValidationIcon, getVTViewTemplateProvider, hasLeftLabelAlignment, isUnchangeableFeature, notifyChange, postInit, render
applyValidation, applyVisible, finalizeRendering, getControls, getDefaultFontName, ignoreEnableOnReadOnly, init, preInit
checkRenderer, getReportService, getVElement, getViewModelContext
@Inject public ColumnEnablementConfigurationDMRRenderer(VControl vElement, ViewModelContext viewContext, ReportService reportService, EMFFormsDatabinding emfFormsDatabinding, EMFFormsLabelProvider emfFormsLabelProvider, VTViewTemplateProvider vtViewTemplateProvider, EMFFormsLocalizationService localizationService, ImageRegistryService imageRegistryService, EMFFormsEditSupport emfFormsEditSuppport)
vElement
- the element to renderviewContext
- the view model contextreportService
- the report serviceemfFormsDatabinding
- the data binding serviceemfFormsLabelProvider
- the label providervtViewTemplateProvider
- the view template providerlocalizationService
- the localization serviceimageRegistryService
- the image registry serviceemfFormsEditSuppport
- the edit supportprotected void createNewReferenceButton(org.eclipse.swt.widgets.Composite parent, String elementDisplayName)
LinkControlSWTRenderer
LinkControlSWTRenderer.createButtons(Composite)
to create the create new reference button.createNewReferenceButton
in class LinkControlSWTRenderer
parent
- the parent compositeelementDisplayName
- the display name of the referenceprotected ReferenceService getReferenceService()
getReferenceService
in class LinkControlSWTRenderer
ReferenceService
Copyright © 2019. All rights reserved.