globalTopFigure.setLayoutManager(globalTopFigureLayout);
globalTopFigure.setOpaque(false);
AbstractDecoratorFigure bodyFigure = null;
if (element instanceof Goal) {
bodyFigure = new SoftGoalFigure(element.getName(), isExpandable);
elementFigure = new ElementFigure(bodyFigure,
decompostionTypeFigure, globalTopFigure);
} else if (element instanceof Flaw) {
bodyFigure = new FlawFigure(element.getName(),
((Flaw) element).getInterpretationRule(), ((Flaw) element).getMetrics(), isExpandable);