|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectItemProviderAdapter
net.refractions.udig.printing.model.provider.ElementItemProvider
net.refractions.udig.printing.model.provider.BoxItemProvider
public class BoxItemProvider
This is the item provider adapter for a net.refractions.udig.printing.model.Box
object.
Constructor Summary | |
---|---|
BoxItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier. |
Method Summary | |
---|---|
protected void |
addBoxPrinterPropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Box Printer feature. |
protected void |
addIDPropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the ID feature. |
protected void |
addSourceConnectionsPropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Source Connections feature. |
protected void |
addTargetConnectionsPropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Target Connections feature. |
protected void |
collectNewChildDescriptors(java.util.Collection newChildDescriptors,
java.lang.Object object)
This adds to the collection of org.eclipse.emf.edit.command.CommandParameter s
describing all of the children that can be created under this object. |
java.lang.Object |
getImage(java.lang.Object object)
This returns Box.gif. |
java.util.List |
getPropertyDescriptors(java.lang.Object object)
This returns the property descriptors for the adapted class. |
ResourceLocator |
getResourceLocator()
Return the resource locator for this item provider's resources. |
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 . |
Methods inherited from class net.refractions.udig.printing.model.provider.ElementItemProvider |
---|
addLocationPropertyDescriptor, addSizePropertyDescriptor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BoxItemProvider(AdapterFactory adapterFactory)
Method Detail |
---|
public java.util.List getPropertyDescriptors(java.lang.Object object)
getPropertyDescriptors
in class ElementItemProvider
protected void addSourceConnectionsPropertyDescriptor(java.lang.Object object)
protected void addTargetConnectionsPropertyDescriptor(java.lang.Object object)
protected void addBoxPrinterPropertyDescriptor(java.lang.Object object)
protected void addIDPropertyDescriptor(java.lang.Object object)
public java.lang.Object getImage(java.lang.Object object)
getImage
in class ElementItemProvider
public java.lang.String getText(java.lang.Object object)
getText
in class ElementItemProvider
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 ElementItemProvider
protected void collectNewChildDescriptors(java.util.Collection newChildDescriptors, java.lang.Object object)
org.eclipse.emf.edit.command.CommandParameter
s
describing all of the children that can be created under this object.
collectNewChildDescriptors
in class ElementItemProvider
public ResourceLocator getResourceLocator()
getResourceLocator
in class ElementItemProvider
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |