use of org.whole.lang.java.ui.figures.MethodDeclarationFigure in project whole by wholeplatform.
the class MethodDeclarationPart method refreshVisuals.
@Override
protected void refreshVisuals() {
MethodDeclaration entity = getModelEntity();
MethodDeclarationFigure methodDeclarationFigure = (MethodDeclarationFigure) getFigure();
methodDeclarationFigure.showTypeParameters(!EntityUtils.isResolver(entity.getTypeParameters()));
methodDeclarationFigure.showThrownExceptions(!EntityUtils.isResolver(entity.getThrownExceptions()));
methodDeclarationFigure.showBodyDeclaration(!EntityUtils.isResolver(entity.getBody()));
}
Aggregations