public class SongEventControlItemProvider extends SongEventItemProvider
SongEventControl
object.
Constructor and Description |
---|
SongEventControlItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addOperationTypePropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Operation Type feature.
|
protected void |
addReservedBytePropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Reserved Byte feature.
|
protected void |
addReservedShortPropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Reserved Short feature.
|
protected void |
addValuePropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Value feature.
|
protected void |
collectNewChildDescriptors(java.util.Collection<java.lang.Object> newChildDescriptors,
java.lang.Object object)
This adds
org.eclipse.emf.edit.command.CommandParameter s describing the children
that can be created under this object. |
java.lang.Object |
getImage(java.lang.Object object)
This returns SongEventControl.gif.
|
java.util.List<IItemPropertyDescriptor> |
getPropertyDescriptors(java.lang.Object object)
This returns the property descriptors for the adapted class.
|
java.lang.String |
getText(java.lang.Object object)
This returns the label text for the adapted class.
|
void |
notifyChanged(Notification notification)
This handles model notifications by calling
#updateChildren to update any cached
children and by creating a viewer notification, which it passes to #fireNotifyChanged . |
addCurrentPositionPropertyDescriptor, addEventInfoPropertyDescriptor, addEventTypePropertyDescriptor, addMeasurePropertyDescriptor, addOperationNumberPropertyDescriptor, addPositionNumberPropertyDescriptor, addStepPropertyDescriptor, getColumnText, getResourceLocator
public SongEventControlItemProvider(AdapterFactory adapterFactory)
public java.util.List<IItemPropertyDescriptor> getPropertyDescriptors(java.lang.Object object)
getPropertyDescriptors
in class SongEventItemProvider
protected void addOperationTypePropertyDescriptor(java.lang.Object object)
protected void addValuePropertyDescriptor(java.lang.Object object)
protected void addReservedBytePropertyDescriptor(java.lang.Object object)
protected void addReservedShortPropertyDescriptor(java.lang.Object object)
public java.lang.Object getImage(java.lang.Object object)
public java.lang.String getText(java.lang.Object object)
getText
in class SongEventItemProvider
public void notifyChanged(Notification notification)
#updateChildren
to update any cached
children and by creating a viewer notification, which it passes to #fireNotifyChanged
.
notifyChanged
in class SongEventItemProvider
protected void collectNewChildDescriptors(java.util.Collection<java.lang.Object> newChildDescriptors, java.lang.Object object)
org.eclipse.emf.edit.command.CommandParameter
s describing the children
that can be created under this object.
collectNewChildDescriptors
in class SongEventItemProvider