use of org.whole.lang.java.ui.figures.ClassDeclarationFigure in project whole by wholeplatform.
the class ClassDeclarationPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
ClassDeclaration classDeclaration = getModelEntity();
((ClassDeclarationFigure) getFigure()).hideTypeParameters(EntityUtils.isResolver(classDeclaration.getTypeParameters()));
((ClassDeclarationFigure) getFigure()).hideSuperclassType(EntityUtils.isResolver(classDeclaration.getSuperclassType()));
((ClassDeclarationFigure) getFigure()).hideSuperInterfaceTypes(EntityUtils.isResolver(classDeclaration.getSuperInterfaceTypes()));
List<IEntity> list = new ArrayList<IEntity>(7);
list.add(classDeclaration.getJavadoc());
list.add(classDeclaration.getModifiers());
list.add(classDeclaration.getName());
list.add(classDeclaration.getTypeParameters());
list.add(classDeclaration.getSuperclassType());
list.add(classDeclaration.getSuperInterfaceTypes());
list.add(classDeclaration.getBodyDeclarations());
return list;
}
Aggregations