org.eclipse.jst.jsf.facesconfig.edit.provider
Class AttributeTypeItemProvider
java.lang.Object
ItemProviderAdapter
org.eclipse.jst.jsf.facesconfig.edit.provider.AttributeTypeItemProvider
-
public class AttributeTypeItemProvider
- extends ItemProviderAdapter
This is the item provider adapter for a
AttributeType
object.
Field Summary
|
static java.lang.String
|
copyright
|
Constructor Summary
|
AttributeTypeItemProvider
(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier |
Method Summary
|
java.util.Collection
|
getChildrenFeatures
(java.lang.Object object)
This specifies how to implement #getChildren(Object) and is used to deduce an appropriate feature for an
org.eclipse.emf.edit.command.AddCommand , org.eclipse.emf.edit.command.RemoveCommand or
org.eclipse.emf.edit.command.MoveCommand in #createCommand(Object, org.eclipse.emf.edit.domain.EditingDomain, Class, org.eclipse.emf.edit.command.CommandParameter)
|
java.lang.Object
|
getColumnImage
(java.lang.Object object,
int columnIndex)
|
java.lang.String
|
getColumnText
(java.lang.Object object,
int columnIndex)
|
java.lang.Object
|
getImage
(java.lang.Object object)
This returns AttributeType.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(Notification) to update any cached
children and by creating a viewer notification, which it passes to #fireNotifyChanged(Notification)
|
Methods inherited from class java.lang.Object
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
copyright
public static final java.lang.String copyright
-
-
See Also:
-
Constant Field Values
AttributeTypeItemProvider
public AttributeTypeItemProvider(AdapterFactory adapterFactory)
- This constructs an instance from a factory and a notifier.
-
Parameters:
-
adapterFactory
-
getPropertyDescriptors
public java.util.List getPropertyDescriptors(java.lang.Object object)
- This returns the property descriptors for the adapted class.
-
getChildrenFeatures
public java.util.Collection getChildrenFeatures(java.lang.Object object)
- This specifies how to implement
#getChildren(Object)
and is used to deduce an appropriate feature for an
org.eclipse.emf.edit.command.AddCommand
, org.eclipse.emf.edit.command.RemoveCommand
or
org.eclipse.emf.edit.command.MoveCommand
in #createCommand(Object, org.eclipse.emf.edit.domain.EditingDomain, Class, org.eclipse.emf.edit.command.CommandParameter)
.
-
getImage
public java.lang.Object getImage(java.lang.Object object)
- This returns AttributeType.gif.
-
getText
public java.lang.String getText(java.lang.Object object)
- This returns the label text for the adapted class.
-
notifyChanged
public void notifyChanged(Notification notification)
- This handles model notifications by calling
#updateChildren(Notification)
to update any cached
children and by creating a viewer notification, which it passes to #fireNotifyChanged(Notification)
.
-
getResourceLocator
public ResourceLocator getResourceLocator()
- Return the resource locator for this item provider's resources.
-
getColumnText
public java.lang.String getColumnText(java.lang.Object object,
int columnIndex)
-
getColumnImage
public java.lang.Object getColumnImage(java.lang.Object object,
int columnIndex)
-