Class CategoryDescriptor

java.lang.Object
org.palladiosimulator.pcm.ui.provider.categoryaware.CategoryDescriptor

public class CategoryDescriptor extends Object
  • Constructor Details

    • CategoryDescriptor

      public CategoryDescriptor(Class parentClass, Class childClass, EReference eReference, String label)
      Parameters:
      parentClass - Reflective class of the parent node of this category, e.g., Repository.class
      childClass - Reflective class of the child nodes which should belong to this category, e.g., ProvidesComponentType.class This is used to filter the children accordingly
      eReference - The eReference of the parent node which is searched to find matching children
      label - The label which is displayed for the category
  • Method Details

    • getChildClass

      public Class getChildClass()
      See constructor for description
      Returns:
      the childClass
    • getEReference

      public EReference getEReference()
      See constructor for description
      Returns:
      the eReference
    • getLabel

      public String getLabel()
      See constructor for description
      Returns:
      the label
    • getParentClass

      public Class getParentClass()
      See constructor for description
      Returns:
      the parentClass