public class RoleItemProvider extends SecurityItemItemProvider
Role object.
CDOItemProviderAdapter.AdaptersDescriptor, CDOItemProviderAdapter.CDOPropertyDescriptor, CDOItemProviderAdapter.ChangeSubscriptionPoliciesDescriptor, CDOItemProviderAdapter.ContainerDescriptor, CDOItemProviderAdapter.DirectResourceDescriptor, CDOItemProviderAdapter.IDDescriptor, CDOItemProviderAdapter.ReadLockedDescriptor, CDOItemProviderAdapter.StateDescriptor, CDOItemProviderAdapter.URIDescriptor, CDOItemProviderAdapter.VersionDescriptor, CDOItemProviderAdapter.ViewDescriptor, CDOItemProviderAdapter.WriteLockedDescriptor, CDOItemProviderAdapter.WriteOptionDescriptorItemProviderAdapter.ChildrenStore, ItemProviderAdapter.ModifiableSingletonEList<E>, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommand, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommandActionDelegateAdapter.InternaladapterFactory, changeNotifier, childrenFeatures, childrenReferences, childrenStoreMap, itemPropertyDescriptors, targets, wrappers, wrappingNeededtargetGRAYED_OUT_COLORBOLD_FONT, BOLD_ITALIC_FONT, ITALIC_FONT, NORMAL_FONT| Constructor and Description |
|---|
RoleItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAssigneesPropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Assignees feature.
|
protected void |
addIdPropertyDescriptor(java.lang.Object object)
This adds a property descriptor for the Id feature.
|
protected void |
collectNewChildDescriptors(java.util.Collection<java.lang.Object> newChildDescriptors,
java.lang.Object object)
This adds
CommandParameters describing the children
that can be created under this object. |
protected void |
collectNewChildDescriptorsGen(java.util.Collection<java.lang.Object> newChildDescriptors,
java.lang.Object object)
This adds
CommandParameters describing the children
that can be created under this object. |
protected EStructuralFeature |
getChildFeature(java.lang.Object object,
java.lang.Object child) |
java.util.Collection<? extends EStructuralFeature> |
getChildrenFeatures(java.lang.Object object)
This specifies how to implement
ItemProviderAdapter.getChildren(java.lang.Object) and is used to deduce an appropriate feature for an
AddCommand, RemoveCommand or
MoveCommand in ItemProviderAdapter.createCommand(java.lang.Object, org.eclipse.emf.edit.domain.EditingDomain, java.lang.Class<? extends org.eclipse.emf.common.command.Command>, org.eclipse.emf.edit.command.CommandParameter). |
java.lang.Object |
getImage(java.lang.Object object)
This returns Role.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
ItemProviderAdapter.updateChildren(org.eclipse.emf.common.notify.Notification) to update any cached
children and by creating a viewer notification, which it passes to ItemProviderAdapter.fireNotifyChanged(org.eclipse.emf.common.notify.Notification). |
protected boolean |
shouldComposeCreationImage() |
getResourceLocator, hasChildrenaddAdaptersDescriptor, addCDOPropertyDescriptor, addChangeSubscriptionPoliciesDescriptor, addContainerDescriptor, addDirectResourceDescriptor, addIDDescriptor, addReadLockedDescriptor, addStateDescriptor, addURIDescriptor, addVersionDescriptor, addViewDescriptor, addWriteLockedDescriptor, addWriteOptionDescriptor, getParentaddListener, adjustWrapperIndex, adjustWrapperIndices, adjustWrapperIndices, createAddCommand, createAddCommand, createChildParameter, createChildrenStore, createCommand, createCopyCommand, createCreateChildCommand, createCreateChildCommand, createCreateCopyCommand, createDragAndDropCommand, createDragAndDropCommand, createInitializeCopyCommand, createItemPropertyDescriptor, createItemPropertyDescriptor, createItemPropertyDescriptor, createMoveCommand, createMoveCommand, createRemoveCommand, createRemoveCommand, createReplaceCommand, createReplaceCommand, createReplaceCommand, createSetCommand, createSetCommand, createWrapper, crop, dispose, disposeWrapper, disposeWrappers, factorAddCommand, factorMoveCommand, factorRemoveCommand, fireNotifyChanged, getAdapterFactory, getBackground, getBackground, getBaseURL, getChildReference, getChildren, getChildrenReferences, getChildrenStore, getColumnImage, getColumnText, getCreateChildDescription, getCreateChildImage, getCreateChildResult, getCreateChildText, getCreateChildToolTipText, getEditableValue, getElements, getFeatureText, getFeatureValue, getFont, getFont, getForeground, getForeground, getImage, getNewChildDescriptors, getPropertyDescriptor, getPropertyValue, getReferenceValue, getResourceLocator, getRootAdapterFactory, getSetFeature, getSetFeatures, getString, getString, getString, getString, getString, getString, getString, getString, getStyledText, getTypeText, getTypeText, getUpdateableText, getValue, getWrappedValues, hasChildren, isAdapterForType, isEquivalentValue, isPropertySet, isResolveProxies, isValidValue, isWrappingNeeded, overlayImage, removeListener, resetPropertyValue, setPropertyValue, setTarget, shouldTranslate, unsetTarget, unwrap, unwrapCommandValues, updateChildren, wrap, wrapCommandgetTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCommand, getChildren, getNewChildDescriptors, getParentgetChildren, getParentgetElementsgetEditableValue, getPropertyDescriptorgetColumnImage, getColumnTextgetBackground, getForegroundgetFontgetBackground, getForegroundgetFontpublic RoleItemProvider(AdapterFactory adapterFactory)
public java.util.List<IItemPropertyDescriptor> getPropertyDescriptors(java.lang.Object object)
getPropertyDescriptors in interface IItemPropertySourcegetPropertyDescriptors in class SecurityItemItemProviderprotected void addAssigneesPropertyDescriptor(java.lang.Object object)
protected void addIdPropertyDescriptor(java.lang.Object object)
public java.util.Collection<? extends EStructuralFeature> getChildrenFeatures(java.lang.Object object)
ItemProviderAdapter.getChildren(java.lang.Object) and is used to deduce an appropriate feature for an
AddCommand, RemoveCommand or
MoveCommand in ItemProviderAdapter.createCommand(java.lang.Object, org.eclipse.emf.edit.domain.EditingDomain, java.lang.Class<? extends org.eclipse.emf.common.command.Command>, org.eclipse.emf.edit.command.CommandParameter).
getChildrenFeatures in class ModelElementItemProviderprotected EStructuralFeature getChildFeature(java.lang.Object object, java.lang.Object child)
getChildFeature in class ModelElementItemProviderpublic java.lang.Object getImage(java.lang.Object object)
getImage in interface IItemLabelProvidergetImage in class ItemProviderAdapterprotected boolean shouldComposeCreationImage()
shouldComposeCreationImage in class SecurityItemItemProviderpublic java.lang.String getText(java.lang.Object object)
getText in interface IItemLabelProvidergetText in class SecurityItemItemProviderpublic void notifyChanged(Notification notification)
ItemProviderAdapter.updateChildren(org.eclipse.emf.common.notify.Notification) to update any cached
children and by creating a viewer notification, which it passes to ItemProviderAdapter.fireNotifyChanged(org.eclipse.emf.common.notify.Notification).
notifyChanged in interface AdapternotifyChanged in class SecurityItemItemProviderprotected void collectNewChildDescriptorsGen(java.util.Collection<java.lang.Object> newChildDescriptors,
java.lang.Object object)
CommandParameters describing the children
that can be created under this object.
protected void collectNewChildDescriptors(java.util.Collection<java.lang.Object> newChildDescriptors,
java.lang.Object object)
SecurityItemItemProviderCommandParameters describing the children
that can be created under this object.
collectNewChildDescriptors in class SecurityItemItemProviderCopyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html