public class DICustomControlSWT extends ECPAbstractCustomControlSWT
ECPAbstractCustomControlSWT that will delegate its calls to a POJO.ECPAbstractCustomControlSWT.SWTCustomControlHelperADD_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, setValueprotected void postInit()
postInit in class ECPAbstractCustomControlSWTECPAbstractCustomControlSWT.postInit()protected void disposeCustomControl()
disposeCustomControl in class ECPAbstractCustomControlSWTECPAbstractCustomControlSWT.disposeCustomControl()protected void handleContentValidation()
handleContentValidation in class ECPAbstractCustomControlSWTECPAbstractCustomControlSWT.handleContentValidation()public SWTGridDescription getGridDescription()
getGridDescription in class ECPAbstractCustomControlSWTECPAbstractCustomControlSWT.getGridDescription()public org.eclipse.swt.widgets.Control renderControl(SWTGridCell cell, org.eclipse.swt.widgets.Composite parent) throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
renderControl in class ECPAbstractCustomControlSWTcell - the SWTGridCell of the control to renderparent - the Composite to render onControlNoRendererFoundException - 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 © 2016. All rights reserved.