|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.edit.spi.ECPAbstractControl
@Deprecated public abstract class ECPAbstractControl
The ECPAbstractControl
is the abstract class describing a control.
This class provides the necessary common access methods.
Constructor Summary | |
---|---|
ECPAbstractControl()
Deprecated. |
Method Summary | |
---|---|
void |
dispose()
Deprecated. Disposes the control. |
org.eclipse.core.databinding.DataBindingContext |
getDataBindingContext()
Deprecated. Returns a DataBindingContext for this control. |
org.eclipse.emf.ecore.EStructuralFeature.Setting |
getFirstSetting()
Deprecated. Returns the first setting for this control. |
org.eclipse.emf.ecore.EStructuralFeature |
getFirstStructuralFeature()
Deprecated. Return the EStructuralFeature of this control. |
org.eclipse.emf.edit.provider.IItemPropertyDescriptor |
getItemPropertyDescriptor(org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
Deprecated. Return the IItemPropertyDescriptor describing this EStructuralFeature.Setting . |
void |
handleValidation(org.eclipse.emf.common.util.Diagnostic diagnostic)
Deprecated. |
void |
init(ViewModelContext viewModelContext,
VControl control)
Deprecated. This method is called by the framework to instantiate the ECPAbstractControl . |
void |
resetValidation()
Deprecated. |
void |
setEditable(boolean isEditable)
Deprecated. |
void |
setEmbedded(boolean embedded)
Deprecated. Sets whether this control is used as an embedded control. |
boolean |
showLabel()
Deprecated. use the labelAlignment of the control model element |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ECPAbstractControl()
Method Detail |
---|
public final void init(ViewModelContext viewModelContext, VControl control)
ECPAbstractControl
.
viewModelContext
- the ViewModelContext
to use by this ECPAbstractControl
.control
- the VControl
of this controlpublic org.eclipse.emf.edit.provider.IItemPropertyDescriptor getItemPropertyDescriptor(org.eclipse.emf.ecore.EStructuralFeature.Setting setting)
IItemPropertyDescriptor
describing this EStructuralFeature.Setting
.
setting
- the EStructuralFeature.Setting
to use for identifying the IItemPropertyDescriptor
.
IItemPropertyDescriptor
public final org.eclipse.emf.ecore.EStructuralFeature.Setting getFirstSetting()
IllegalArgumentException
if no settings can be foundpublic final org.eclipse.emf.ecore.EStructuralFeature getFirstStructuralFeature()
EStructuralFeature
of this control.
EStructuralFeature
public final org.eclipse.core.databinding.DataBindingContext getDataBindingContext()
DataBindingContext
for this control.
DataBindingContext
public void dispose()
public final void setEmbedded(boolean embedded)
embedded
- whether the control is used as an embedded control@Deprecated public void handleValidation(org.eclipse.emf.common.util.Diagnostic diagnostic)
diagnostic
- of type Diagnostic@Deprecated public void resetValidation()
@Deprecated public boolean showLabel()
@Deprecated public void setEditable(boolean isEditable)
isEditable
- whether to set the widget editable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |