Class LeafConditionControlRenderer_Test.TestLeafConditionControlRenderer
- java.lang.Object
-
- org.eclipse.emf.ecp.view.model.common.AbstractRenderer<VELEMENT>
-
- org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer<VCONTROL>
-
- org.eclipse.emf.ecp.view.spi.core.swt.AbstractControlSWTRenderer<VControl>
-
- org.eclipse.emf.ecp.view.spi.core.swt.SimpleControlSWTRenderer
-
- org.eclipse.emf.ecp.view.spi.core.swt.SimpleControlSWTControlSWTRenderer
-
- org.eclipse.emf.ecp.view.internal.editor.controls.ExpectedValueControlRenderer
-
- org.eclipse.emf.ecp.view.internal.editor.controls.LeafConditionControlRenderer
-
- org.eclipse.emf.ecp.view.internal.editor.controls.LeafConditionControlRenderer_Test.TestLeafConditionControlRenderer
-
- All Implemented Interfaces:
RootDomainModelChangeListener
- Enclosing class:
- LeafConditionControlRenderer_Test
public class LeafConditionControlRenderer_Test.TestLeafConditionControlRenderer extends LeafConditionControlRenderer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecp.view.internal.editor.controls.ExpectedValueControlRenderer
ExpectedValueControlRenderer.ModelToTargetUpdateStrategy, ExpectedValueControlRenderer.TargetToModelUpdateStrategy
-
-
Field Summary
-
Fields inherited from class org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer
CUSTOM_VARIANT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.emf.ecore.EObject
getObservedEObject()
Returns the model object representing the value for this renderer's domain model reference.protected void
showError(org.eclipse.swt.widgets.Shell shell, java.lang.String title, java.lang.String description)
Shows an error message to the user.-
Methods inherited from class org.eclipse.emf.ecp.view.internal.editor.controls.LeafConditionControlRenderer
onSelectButton
-
Methods inherited from class org.eclipse.emf.ecp.view.internal.editor.controls.ExpectedValueControlRenderer
createBindings, createSWTControl, createTooltipBinding, finalizeRendering, getSelectedObject, getUnsetText
-
Methods inherited from class org.eclipse.emf.ecp.view.spi.core.swt.SimpleControlSWTControlSWTRenderer
createControl, getFeature, rootDomainModelChanged, withPreSetValidation
-
Methods inherited from class org.eclipse.emf.ecp.view.spi.core.swt.SimpleControlSWTRenderer
applyReadOnly, applyValidation, createControlCell, createDefaultUnsettableStyleProperty, createLabelCell, createValidationCell, dispose, getGridDescription, getLabelWidth, getUnsettableStyleProperty, isUnsettable, renderControl, setControlEnabled, setControlIdData, setValidationColor, setValidationForegroundColor
-
Methods inherited from class org.eclipse.emf.ecp.view.spi.core.swt.AbstractControlSWTRenderer
applyEnable, applyUnchangeableFeature, canHandleControlProcessor, createLabel, createValidationIcon, defaultHandleControlProcessor, defaultHandleControlProcessorForCell, getDataBindingContext, getEditingDomain, getEMFFormsDatabinding, getEMFFormsLabelProvider, getLabelStyleBits, getModelValue, getValidationBackgroundColor, getValidationBackgroundColor, getValidationForegroundColor, getValidationForegroundColor, getValidationIcon, getValidationIcon, getVTViewTemplateProvider, hasLeftLabelAlignment, isUnchangeableFeature, notifyChange, postInit, render
-
Methods inherited from class org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer
applyValidation, applyVisible, canReveal, getControls, getDefaultFontName, ignoreEnableOnReadOnly, init, isRenderingFinished, preInit, scrollToReveal, scrollToReveal
-
Methods inherited from class org.eclipse.emf.ecp.view.model.common.AbstractRenderer
checkRenderer, getRenderer, getReportService, getVElement, getViewModelContext, register
-
-
-
-
Method Detail
-
showError
protected void showError(org.eclipse.swt.widgets.Shell shell, java.lang.String title, java.lang.String description)
Description copied from class:ExpectedValueControlRenderer
Shows an error message to the user.- Overrides:
showError
in classExpectedValueControlRenderer
- Parameters:
shell
- The Shell to show the error ontitle
- The title of the error messagedescription
- The error description
-
getObservedEObject
protected org.eclipse.emf.ecore.EObject getObservedEObject() throws DatabindingFailedException
Returns the model object representing the value for this renderer's domain model reference.- Overrides:
getObservedEObject
in classExpectedValueControlRenderer
- Returns:
- the EObject
- Throws:
DatabindingFailedException
- if the databinding fails- See Also:
ExpectedValueControlRenderer.getObservedEObject()
-
-