org.eclipse.emf.ecp.edit.internal.swt.reference
Class LinkControl
java.lang.Object
org.eclipse.emf.ecp.edit.spi.ECPAbstractControl
org.eclipse.emf.ecp.edit.internal.swt.util.SWTControl
org.eclipse.emf.ecp.edit.internal.swt.controls.SingleControl
org.eclipse.emf.ecp.edit.internal.swt.reference.LinkControl
- All Implemented Interfaces:
- ECPControlSWT
- Direct Known Subclasses:
- ControlRootEClassControl, ControlTargetFeatureControl, EClassifierControl, TableColumnDomainModelReferenceControl
public class LinkControl
- extends SingleControl
This class defines a Control which is used for displaying EStructuralFeature
s which have a reference.
- Author:
- Eugen Neufeld
LinkControl
public LinkControl()
setEditable
public void setEditable(boolean isEditable)
- Sets the state of the widget to be either editable or not.
- Overrides:
setEditable
in class ECPAbstractControl
- Parameters:
isEditable
- whether to set the widget editable
bindValue
public org.eclipse.core.databinding.Binding bindValue()
- Description copied from class:
SWTControl
- Triggers the control to perform the databinding.
- Returns:
- The
Binding
dispose
public void dispose()
- Description copied from class:
SingleControl
- Disposes the control.
A control which needs specific dispose handling must still call super.dispose.
- Overrides:
dispose
in class SingleControl
getAdapterFactoryItemDelegator
public org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator getAdapterFactoryItemDelegator()
- Returns:
- the adapterFactoryItemDelegator
setAdapterFactoryItemDelegator
public void setAdapterFactoryItemDelegator(org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator adapterFactoryItemDelegator)
- Parameters:
adapterFactoryItemDelegator
- the adapterFactoryItemDelegator to set
getComposedAdapterFactory
public org.eclipse.emf.edit.provider.ComposedAdapterFactory getComposedAdapterFactory()
- Returns:
- the composedAdapterFactory
setComposedAdapterFactory
public void setComposedAdapterFactory(org.eclipse.emf.edit.provider.ComposedAdapterFactory composedAdapterFactory)
- Parameters:
composedAdapterFactory
- the composedAdapterFactory to set
Copyright © 2015. All Rights Reserved.