Class CategoryDescriptor
java.lang.Object
org.palladiosimulator.pcm.ui.provider.categoryaware.CategoryDescriptor
-
Constructor Summary
ConstructorDescriptionCategoryDescriptor
(Class parentClass, Class childClass, EReference eReference, String label) -
Method Summary
Modifier and TypeMethodDescriptionSee constructor for descriptionSee constructor for descriptiongetLabel()
See constructor for descriptionSee constructor for description
-
Constructor Details
-
CategoryDescriptor
- Parameters:
parentClass
- Reflective class of the parent node of this category, e.g., Repository.classchildClass
- Reflective class of the child nodes which should belong to this category, e.g., ProvidesComponentType.class This is used to filter the children accordinglyeReference
- The eReference of the parent node which is searched to find matching childrenlabel
- The label which is displayed for the category
-
-
Method Details
-
getChildClass
See constructor for description- Returns:
- the childClass
-
getEReference
See constructor for description- Returns:
- the eReference
-
getLabel
See constructor for description- Returns:
- the label
-
getParentClass
See constructor for description- Returns:
- the parentClass
-