Class CategoryDescriptor
- java.lang.Object
-
- org.palladiosimulator.pcm.ui.provider.categoryaware.CategoryDescriptor
-
public class CategoryDescriptor extends Object
-
-
Constructor Summary
Constructors Constructor Description CategoryDescriptor(Class parentClass, Class childClass, EReference eReference, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getChildClass()
See constructor for descriptionEReference
getEReference()
See constructor for descriptionString
getLabel()
See constructor for descriptionClass
getParentClass()
See constructor for description
-
-
-
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.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 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
-
-