Class CategoryDescriptor


  • public class CategoryDescriptor
    extends Object
    • Constructor Detail

      • 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 Detail

      • 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