Class DegreeOfFreedomInstanceItemProvider

java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.edit.provider.ItemProviderAdapter
org.palladiosimulator.pcm.provider.PCMClassItemProvider
org.palladiosimulator.pcm.provider.PCMBaseClassItemProvider
org.palladiosimulator.pcm.core.entity.provider.NamedElementItemProvider
de.uka.ipd.sdq.pcm.designdecision.provider.DegreeOfFreedomInstanceItemProvider
All Implemented Interfaces:
Adapter, Adapter.Internal, ResourceLocator, CreateChildCommand.Helper, IChangeNotifier, IDisposable, IEditingDomainItemProvider, IItemLabelProvider, IItemPropertySource, IStructuredItemContentProvider, ITreeItemContentProvider
Direct Known Subclasses:
ClassDegreeItemProvider, DataTypeDegreeItemProvider, DataTypeDegreeItemProvider, FeatureConfigDegreeItemProvider, FeatureConfigDegreeItemProvider, IndicatorDegreeItemProvider, ProcessingResourceDegreeItemProvider

public class DegreeOfFreedomInstanceItemProvider extends org.palladiosimulator.pcm.core.entity.provider.NamedElementItemProvider
This is the item provider adapter for a DegreeOfFreedomInstance object.
Generated class or method.
  • Constructor Details

    • DegreeOfFreedomInstanceItemProvider

      public DegreeOfFreedomInstanceItemProvider(AdapterFactory adapterFactory)
      This constructs an instance from a factory and a notifier.
      Generated class or method.
  • Method Details

    • getPropertyDescriptors

      public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object)
      This returns the property descriptors for the adapted class.
      Specified by:
      getPropertyDescriptors in interface IItemPropertySource
      Overrides:
      getPropertyDescriptors in class org.palladiosimulator.pcm.core.entity.provider.NamedElementItemProvider
      Generated class or method.
    • addPrimaryChangedPropertyDescriptor

      protected void addPrimaryChangedPropertyDescriptor(Object object)
      This adds a property descriptor for the Primary Changed feature.
      Generated class or method.
    • addDofPropertyDescriptor

      protected void addDofPropertyDescriptor(Object object)
      This adds a property descriptor for the Dof feature.
      Generated class or method.
    • addChangeableElementsPropertyDescriptor

      protected void addChangeableElementsPropertyDescriptor(Object object)
      This adds a property descriptor for the Changeable Elements feature.
      Generated class or method.
    • addDecoratorModelPropertyDescriptor

      protected void addDecoratorModelPropertyDescriptor(Object object)
      This adds a property descriptor for the Decorator Model feature.
      Generated class or method.
    • getText

      public String getText(Object object)
      This returns the label text for the adapted class.
      Specified by:
      getText in interface IItemLabelProvider
      Overrides:
      getText in class org.palladiosimulator.pcm.core.entity.provider.NamedElementItemProvider
      Generated class or method.
    • notifyChanged

      public 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).
      Specified by:
      notifyChanged in interface Adapter
      Overrides:
      notifyChanged in class org.palladiosimulator.pcm.core.entity.provider.NamedElementItemProvider
      Generated class or method.
    • collectNewChildDescriptors

      protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object)
      This adds CommandParameters describing the children that can be created under this object.
      Overrides:
      collectNewChildDescriptors in class org.palladiosimulator.pcm.core.entity.provider.NamedElementItemProvider
      Generated class or method.
    • getResourceLocator

      public ResourceLocator getResourceLocator()
      Return the resource locator for this item provider's resources.
      Overrides:
      getResourceLocator in class org.palladiosimulator.pcm.provider.PCMClassItemProvider
      Generated class or method.