public class DICustomControlSWT extends ECPAbstractCustomControlSWT
ECPAbstractCustomControlSWT
that will delegate its calls to a POJO.ECPAbstractCustomControlSWT.SWTCustomControlHelper
ADD_IMAGE, CUSTOM_VARIANT, DELETE_IMAGE, HELP_IMAGE, VALIDATION_ERROR_IMAGE
Modifier and Type | Method and Description |
---|---|
protected void |
disposeCustomControl()
This method is called during dispose and allows to dispose necessary objects.
|
SWTGridDescription |
getGridDescription()
Returns the GridDescription for this Renderer.
|
protected void |
handleContentValidation()
This is called so that an error can be shown by the user.
|
protected void |
postInit()
This method is called after the initialization.
|
org.eclipse.swt.widgets.Control |
renderControl(SWTGridCell cell,
org.eclipse.swt.widgets.Composite parent)
Renders the control.
|
applyEnable, applyReadOnly, applyValidation, bindTargetToModel, canHandleControlProcessor, createLabel, createSimpleGrid, createValidationIcon, createViewerBinding, dispose, getControl, getCustomControl, getDataBindingContext, getEditingDomain, getEditingDomain, getHelper, getItemPropertyDescriptor, getObservableList, getResolvedDomainModelReference, getResolvedDomainModelReferences, getValue, getViewModelContext, hasLeftLabelAlignment, init, registerChangeListener, setControlEnabled, setEditable, setValue
protected void postInit()
postInit
in class ECPAbstractCustomControlSWT
ECPAbstractCustomControlSWT.postInit()
protected void disposeCustomControl()
disposeCustomControl
in class ECPAbstractCustomControlSWT
ECPAbstractCustomControlSWT.disposeCustomControl()
protected void handleContentValidation()
handleContentValidation
in class ECPAbstractCustomControlSWT
ECPAbstractCustomControlSWT.handleContentValidation()
public SWTGridDescription getGridDescription()
getGridDescription
in class ECPAbstractCustomControlSWT
ECPAbstractCustomControlSWT.getGridDescription()
public org.eclipse.swt.widgets.Control renderControl(SWTGridCell cell, org.eclipse.swt.widgets.Composite parent) throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
renderControl
in class ECPAbstractCustomControlSWT
cell
- the SWTGridCell
of the control to renderparent
- the Composite
to render onControl
NoRendererFoundException
- this is thrown when a renderer cannot be foundNoPropertyDescriptorFoundExeption
- this is thrown when no property descriptor can be foundECPAbstractCustomControlSWT.renderControl(org.eclipse.emfforms.spi.swt.core.layout.SWTGridCell,
org.eclipse.swt.widgets.Composite)
Copyright © 2017. All rights reserved.