public class SongEventKeyboardNoteItemProvider extends SongEventItemProvider
SongEventKeyboardNote object.
| Constructor and Description |
|---|
SongEventKeyboardNoteItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLengthPropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Length feature.
|
protected void |
addNoteNumberPropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Note Number feature.
|
protected void |
addPartPropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Part feature.
|
protected void |
collectNewChildDescriptors(java.util.Collection<java.lang.Object> newChildDescriptors,
java.lang.Object object)
This adds
org.eclipse.emf.edit.command.CommandParameters describing the children
that can be created under this object. |
java.lang.Object |
getImage(java.lang.Object object)
This returns SongEventKeyboardNote.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, getResourceLocatorpublic SongEventKeyboardNoteItemProvider(AdapterFactory adapterFactory)
public java.util.List<IItemPropertyDescriptor> getPropertyDescriptors(java.lang.Object object)
getPropertyDescriptors in class SongEventItemProviderprotected void addPartPropertyDescriptor(java.lang.Object object)
protected void addLengthPropertyDescriptor(java.lang.Object object)
protected void addNoteNumberPropertyDescriptor(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 SongEventItemProviderpublic void notifyChanged(Notification notification)
#updateChildren to update any cached
children and by creating a viewer notification, which it passes to #fireNotifyChanged.
notifyChanged in class SongEventItemProviderprotected void collectNewChildDescriptors(java.util.Collection<java.lang.Object> newChildDescriptors,
java.lang.Object object)
org.eclipse.emf.edit.command.CommandParameters describing the children
that can be created under this object.
collectNewChildDescriptors in class SongEventItemProvider