Class RandomVariableItemProvider

java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.edit.provider.ItemProviderAdapter
tools.mdsd.modelingfoundations.identifier.provider.IdentifierItemProvider
tools.mdsd.modelingfoundations.identifier.provider.EntityItemProvider
tools.mdsd.probdist.distributionfunction.provider.RandomVariableItemProvider
All Implemented Interfaces:
Adapter, Adapter.Internal, ResourceLocator, CreateChildCommand.Helper, IChangeNotifier, IDisposable, IEditingDomainItemProvider, IItemLabelProvider, IItemPropertySource, IStructuredItemContentProvider, ITreeItemContentProvider

public class RandomVariableItemProvider extends tools.mdsd.modelingfoundations.identifier.provider.EntityItemProvider
This is the item provider adapter for a RandomVariable object.
Generated class or method.
  • Constructor Details

    • RandomVariableItemProvider

      public RandomVariableItemProvider(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 tools.mdsd.modelingfoundations.identifier.provider.EntityItemProvider
      Generated class or method.
    • addValueSpacePropertyDescriptor

      protected void addValueSpacePropertyDescriptor(Object object)
      This adds a property descriptor for the Value Space feature.
      Generated class or method.
    • getImage

      public Object getImage(Object object)
      This returns RandomVariable.gif.
      Specified by:
      getImage in interface IItemLabelProvider
      Overrides:
      getImage in class ItemProviderAdapter
      Generated class or method.
    • shouldComposeCreationImage

      protected boolean shouldComposeCreationImage()
      Overrides:
      shouldComposeCreationImage in class tools.mdsd.modelingfoundations.identifier.provider.EntityItemProvider
      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 tools.mdsd.modelingfoundations.identifier.provider.EntityItemProvider
      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 tools.mdsd.modelingfoundations.identifier.provider.EntityItemProvider
      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 tools.mdsd.modelingfoundations.identifier.provider.EntityItemProvider
      Generated class or method.
    • getResourceLocator

      public ResourceLocator getResourceLocator()
      Return the resource locator for this item provider's resources.
      Overrides:
      getResourceLocator in class tools.mdsd.modelingfoundations.identifier.provider.IdentifierItemProvider
      Generated class or method.