|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ECPCellEditor
A common super interface for all CellEditors contributed to ECP.
| Field Summary | |
|---|---|
static String |
CUSTOM_VARIANT
RAP theming variable. |
| Method Summary | |
|---|---|
int |
getColumnWidthWeight()
The returned value is used for layouting the table columns. |
String |
getFormatedString(Object value)
This returns the String which will be shown in the table when no cell editor is open. |
org.eclipse.swt.graphics.Image |
getImage(Object value)
This returns the Image which will be shown in the table when no cell editor is open. |
int |
getMinWidth()
Returns the minimum width of the cell editor. |
org.eclipse.core.databinding.UpdateValueStrategy |
getModelToTargetStrategy(org.eclipse.core.databinding.DataBindingContext databindingContext)
This UpdateValueStrategy will be used as the model to target strategy during data binding. |
int |
getStyle()
|
org.eclipse.core.databinding.UpdateValueStrategy |
getTargetToModelStrategy(org.eclipse.core.databinding.DataBindingContext databindingContext)
This UpdateValueStrategy will be used as the target to model strategy during data binding. |
org.eclipse.core.databinding.property.value.IValueProperty |
getValueProperty()
Returns the IValueProperty for this cell editor which is used by the table to create an
IObservableValue. |
void |
instantiate(org.eclipse.emf.ecore.EStructuralFeature feature,
ViewModelContext viewModelContext)
Instantiates this cell editor. |
void |
setEditable(boolean editable)
Sets editable state of the cell editor. |
| Field Detail |
|---|
static final String CUSTOM_VARIANT
| Method Detail |
|---|
org.eclipse.core.databinding.property.value.IValueProperty getValueProperty()
IValueProperty for this cell editor which is used by the table to create an
IObservableValue.
IValueProperty for this cell editor
void instantiate(org.eclipse.emf.ecore.EStructuralFeature feature,
ViewModelContext viewModelContext)
ViewModelServices.
feature - the EStructuralFeature displayed in this cell editorviewModelContext - the ViewModelContext used for the current viewint getStyle()
String getFormatedString(Object value)
value - the Object to get the formated String for
org.eclipse.swt.graphics.Image getImage(Object value)
value - the Object to get the Image for
int getColumnWidthWeight()
org.eclipse.core.databinding.UpdateValueStrategy getTargetToModelStrategy(org.eclipse.core.databinding.DataBindingContext databindingContext)
UpdateValueStrategy will be used as the target to model strategy during data binding.
databindingContext - The DataBindingContext used by this strategy
org.eclipse.core.databinding.UpdateValueStrategy getModelToTargetStrategy(org.eclipse.core.databinding.DataBindingContext databindingContext)
UpdateValueStrategy will be used as the model to target strategy during data binding.
databindingContext - The DataBindingContext used by this strategy
void setEditable(boolean editable)
editable - true if editable, false otherwiseint getMinWidth()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||