java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.edit.provider.ItemProviderAdapter
de.uka.ipd.sdq.identifier.provider.IdentifierItemProvider
org.palladiosimulator.pcm.core.entity.provider.EntityItemProvider
org.palladiosimulator.pcm.confidentiality.attackerSpecification.attackSpecification.provider.CVEVulnerabilityItemProvider
All Implemented Interfaces:
Adapter, Adapter.Internal, ResourceLocator, CreateChildCommand.Helper, IChangeNotifier, IDisposable, IEditingDomainItemProvider, IItemLabelProvider, IItemPropertySource, IStructuredItemContentProvider, ITreeItemContentProvider

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

    • CVEVulnerabilityItemProvider

      public CVEVulnerabilityItemProvider(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.EntityItemProvider
      Generated class or method.
    • addCweIDPropertyDescriptor

      protected void addCweIDPropertyDescriptor(Object object)
      This adds a property descriptor for the Cwe ID feature.
      Generated class or method.
    • addAttackVectorPropertyDescriptor

      protected void addAttackVectorPropertyDescriptor(Object object)
      This adds a property descriptor for the Attack Vector feature.
      Generated class or method.
    • addAttackComplexityPropertyDescriptor

      protected void addAttackComplexityPropertyDescriptor(Object object)
      This adds a property descriptor for the Attack Complexity feature.
      Generated class or method.
    • addPrivilegesPropertyDescriptor

      protected void addPrivilegesPropertyDescriptor(Object object)
      This adds a property descriptor for the Privileges feature.
      Generated class or method.
    • addUserInteractionPropertyDescriptor

      protected void addUserInteractionPropertyDescriptor(Object object)
      This adds a property descriptor for the User Interaction feature.
      Generated class or method.
    • addRequiredCredentialsPropertyDescriptor

      protected void addRequiredCredentialsPropertyDescriptor(Object object)
      This adds a property descriptor for the Required Credentials feature.
      Generated class or method.
    • addConfidentialityImpactPropertyDescriptor

      protected void addConfidentialityImpactPropertyDescriptor(Object object)
      This adds a property descriptor for the Confidentiality Impact feature.
      Generated class or method.
    • addIntegrityImpactPropertyDescriptor

      protected void addIntegrityImpactPropertyDescriptor(Object object)
      This adds a property descriptor for the Integrity Impact feature.
      Generated class or method.
    • addAvailabilityImpactPropertyDescriptor

      protected void addAvailabilityImpactPropertyDescriptor(Object object)
      This adds a property descriptor for the Availability Impact feature.
      Generated class or method.
    • addGainedAttributesPropertyDescriptor

      protected void addGainedAttributesPropertyDescriptor(Object object)
      This adds a property descriptor for the Gained Attributes feature.
      Generated class or method.
    • addTakeOverPropertyDescriptor

      protected void addTakeOverPropertyDescriptor(Object object)
      This adds a property descriptor for the Take Over feature.
      Generated class or method.
    • addRolePropertyDescriptor

      protected void addRolePropertyDescriptor(Object object)
      This adds a property descriptor for the Role feature.
      Generated class or method.
    • addCveIDPropertyDescriptor

      protected void addCveIDPropertyDescriptor(Object object)
      This adds a property descriptor for the Cve ID feature.
      Generated class or method.
    • getChildrenFeatures

      public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object)
      Overrides:
      getChildrenFeatures in class ItemProviderAdapter
      Generated class or method.
    • getChildFeature

      protected EStructuralFeature getChildFeature(Object object, Object child)
      Overrides:
      getChildFeature in class ItemProviderAdapter
      Generated class or method.
    • getImage

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

      protected boolean shouldComposeCreationImage()
      Overrides:
      shouldComposeCreationImage in class ItemProviderAdapter
      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.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 org.palladiosimulator.pcm.core.entity.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 org.palladiosimulator.pcm.core.entity.provider.EntityItemProvider
      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.core.entity.provider.EntityItemProvider
      Generated class or method.