public class ReadOnlyConfigurationSWTRenderer extends LinkOnlyMultiReferenceRenderer
ReadOnlyColumnConfigurations
.
Uses a custom reference service to only show suitable column dmrs for linking.CUSTOM_VARIANT
Constructor and Description |
---|
ReadOnlyConfigurationSWTRenderer(VControl vElement,
ViewModelContext viewContext,
ReportService reportService,
EMFFormsDatabinding emfFormsDatabinding,
EMFFormsLabelProvider emfFormsLabelProvider,
VTViewTemplateProvider vtViewTemplateProvider,
ImageRegistryService imageRegistryService)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ReferenceService |
getReferenceService()
Override to customize linking and creation of EObjects in this renderer's EReference.
|
showAddNewButton
applyEnable, applyReadOnly, applyValidation, compare, createAdapterFactory, createAddExistingButton, createAddNewButton, createButtonComposite, createControlComposite, createDefaultTableStyleProperty, createDeleteButton, createErrorLabel, createLabelProvider, createMoveDownButton, createMoveUpButton, createTitleComposite, dispose, getAdapterFactory, getContainer, getDefaultReferenceStyle, getEStructuralFeature, getGridDescription, getImage, getLabelProvider, getReferencedElementsList, getReferenceDisplayName, getTableHeightHint, getTableStyleProperty, getTableViewer, handleAddExisting, handleAddNew, handleDelete, handleDoubleClick, handleMoveDown, handleMoveUp, ignoreEnableOnReadOnly, renderControl, renderMultiReferenceControl, rootDomainModelChanged, showAddExistingButton, showDeleteButton, showMoveDownButton, showMoveUpButton, updateButtonEnabling, updateButtons, updateButtonVisibility, updateTableViewerInputList
applyUnchangeableFeature, canHandleControlProcessor, createLabel, createValidationIcon, defaultHandleControlProcessor, defaultHandleControlProcessorForCell, getDataBindingContext, getEditingDomain, getEMFFormsDatabinding, getEMFFormsLabelProvider, getLabelStyleBits, getModelValue, getValidationBackgroundColor, getValidationBackgroundColor, getValidationForegroundColor, getValidationForegroundColor, getValidationIcon, getValidationIcon, getVTViewTemplateProvider, hasLeftLabelAlignment, isUnchangeableFeature, notifyChange, postInit, render
applyValidation, applyVisible, canReveal, finalizeRendering, getControls, getDefaultFontName, init, isRenderingFinished, preInit, scrollToReveal, scrollToReveal, setControlEnabled
checkRenderer, getRenderer, getReportService, getVElement, getViewModelContext, register
@Inject public ReadOnlyConfigurationSWTRenderer(VControl vElement, ViewModelContext viewContext, ReportService reportService, EMFFormsDatabinding emfFormsDatabinding, EMFFormsLabelProvider emfFormsLabelProvider, VTViewTemplateProvider vtViewTemplateProvider, ImageRegistryService imageRegistryService)
vElement
- the view model element to be renderedviewContext
- the view contextemfFormsDatabinding
- The EMFFormsDatabinding
emfFormsLabelProvider
- The EMFFormsLabelProvider
reportService
- The ReportService
vtViewTemplateProvider
- The VTViewTemplateProvider
imageRegistryService
- The ImageRegistryService
protected ReferenceService getReferenceService()
MultiReferenceSWTRenderer
getReferenceService
in class MultiReferenceSWTRenderer
ReferenceService
used to link and create new EObjects in this renderer's reference.Copyright © 2019. All rights reserved.