@Deprecated public class TableControl extends SWTControl
| Modifier and Type | Class and Description |
|---|---|
class |
TableControl.ECPCellLabelProvider
Deprecated.
ECP specficic cell label provider that does also implement
IColorProvider in
order to correctly. |
CUSTOM_VARIANT, VALIDATION_ERROR_ICON, validationLabel| Constructor and Description |
|---|
TableControl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRow(org.eclipse.emf.ecore.EClass clazz)
Deprecated.
This method is called to add a new entry in the domain model and thus to create a new row in the table.
|
protected void |
applyValidation(VDiagnostic diagnostic)
Deprecated.
Override this method in order to handle validation.
|
protected org.eclipse.core.databinding.Binding |
bindValue()
Deprecated.
Triggers the control to perform the databinding.
|
org.eclipse.swt.widgets.Composite |
createControl(org.eclipse.swt.widgets.Composite parent)
Deprecated.
This method is called to render the control on a parent.
|
List<RenderingResultRow<org.eclipse.swt.widgets.Control>> |
createControls(org.eclipse.swt.widgets.Composite parent)
Deprecated.
Renders a control on the provided parent and returning a list of
RenderingResultRows. |
protected void |
deleteRows(List<org.eclipse.emf.ecore.EObject> deletionList)
Deprecated.
This is called by
deleteRowUserConfirmDialog(List) after the user confirmed to delete the selected
elements. |
protected void |
deleteRowUserConfirmDialog(List<org.eclipse.emf.ecore.EObject> deletionList)
Deprecated.
This method shows a user confirmation dialog when the user attempts to delete a row in the table.
|
void |
dispose()
Deprecated.
Disposes the control.
|
protected void |
fillControlComposite(org.eclipse.swt.widgets.Composite parent)
Deprecated.
This method must be overridden by concrete classes.
|
protected String |
getCellTooltipMessage(VDiagnostic vDiagnostic)
Deprecated.
Returns the message of the validation tool tip shown in the cell.
|
protected org.eclipse.swt.widgets.Control[] |
getControlsForTooltip()
Deprecated.
Method for retrieving all controls which should have the help text as their tooltip.
|
protected org.eclipse.swt.widgets.Button |
getCustomUnsetButton()
Deprecated.
The default unset button will be displayed to the right of the control's composite.
|
protected String |
getRowTooltipMessage(VDiagnostic vDiagnostic)
Deprecated.
Returns the message of the validation tool tip shown in the row.
|
protected String |
getTableTooltipMessage(org.eclipse.emf.common.util.Diagnostic diagnostic)
Deprecated.
Returns the message of the validation tool tip shown in the table header.
|
protected String |
getUnsetButtonTooltip()
Deprecated.
Returns the string for the unset button tooltip.
|
protected String |
getUnsetLabelText()
Deprecated.
Returns the string for the unset label.
|
void |
setEditable(boolean isEditable)
Deprecated.
|
void |
setTableControlConfiguration(TableControlConfiguration tableControlConfiguration)
Deprecated.
|
boolean |
showLabel()
Deprecated.
|
backwardCompatibleHandleValidation, createButtonForAction, createContentControl, getHelpText, getModelValue, getSystemColor, getValidationBackgroundColor, getValidationIcon, isEditable, setObservableValue, showUnsetLabelenabledmentChanged, getControl, getDataBindingContext, getDomainModelReference, getEditingDomain, getEditingDomain, getFirstSetting, getFirstStructuralFeature, getItemPropertyDescriptor, getLocale, getService, getViewModelContext, handleValidation, init, isEmbedded, postInit, resetValidation, setEmbeddedpublic final void setTableControlConfiguration(TableControlConfiguration tableControlConfiguration)
tableControlConfiguration - the TableControlConfiguration to use when creating the tableprotected org.eclipse.core.databinding.Binding bindValue()
SWTControlbindValue in class SWTControlBindingpublic List<RenderingResultRow<org.eclipse.swt.widgets.Control>> createControls(org.eclipse.swt.widgets.Composite parent)
RenderingResultRows.createControls in interface ECPControlSWTcreateControls in class SWTControlparent - the Composite to render ontoRenderingResultRowsECPControlSWT.createControls(org.eclipse.swt.widgets.Composite)public org.eclipse.swt.widgets.Composite createControl(org.eclipse.swt.widgets.Composite parent)
SWTControlcreateControl in class SWTControlparent - the Composite which is the parentCompositeprotected void fillControlComposite(org.eclipse.swt.widgets.Composite parent)
SWTControlfillControlComposite in class SWTControlparent - the Composite to add the widget toprotected org.eclipse.swt.widgets.Button getCustomUnsetButton()
SWTControlgetCustomUnsetButton in class SWTControlprotected void deleteRowUserConfirmDialog(List<org.eclipse.emf.ecore.EObject> deletionList)
deletionList - the list of selected EObjects to deleteprotected void deleteRows(List<org.eclipse.emf.ecore.EObject> deletionList)
deleteRowUserConfirmDialog(List) after the user confirmed to delete the selected
elements.deletionList - the list of EObjects to deleteprotected void addRow(org.eclipse.emf.ecore.EClass clazz)
clazz - the EClass defining the EObject to createpublic void dispose()
dispose in class SWTControlprotected void applyValidation(VDiagnostic diagnostic)
applyValidation in class ECPAbstractControldiagnostic - the current VDiagnosticECPAbstractControl.applyValidation(org.eclipse.emf.ecp.view.spi.model.VDiagnostic)protected String getTableTooltipMessage(org.eclipse.emf.common.util.Diagnostic diagnostic)
diagnostic - the Diagnostic to extract the message fromprotected String getRowTooltipMessage(VDiagnostic vDiagnostic)
vDiagnostic - the VDiagnostic to get the message fromprotected String getCellTooltipMessage(VDiagnostic vDiagnostic)
vDiagnostic - the VDiagnostic to get the message from@Deprecated public void setEditable(boolean isEditable)
setEditable in class ECPAbstractControlisEditable - whether to set the widget editableprotected String getUnsetLabelText()
SWTControlgetUnsetLabelText in class SWTControlprotected String getUnsetButtonTooltip()
SWTControlgetUnsetButtonTooltip in class SWTControlprotected org.eclipse.swt.widgets.Control[] getControlsForTooltip()
SWTControlgetControlsForTooltip in class SWTControl@Deprecated public boolean showLabel()
showLabel in class ECPAbstractControlCopyright © 2020. All rights reserved.