else if (modelPart instanceof GroundOutput)
figure = new GroundFeedbackFigure();
else if (modelPart instanceof LiveOutput)
figure = new LiveOutputFeedbackFigure();
else if (modelPart instanceof AndGate)
figure = new AndGateFeedbackFigure();
else {
figure = new RectangleFigure();
((RectangleFigure)figure).setXOR(true);
((RectangleFigure)figure).setFill(true);
figure.setBackgroundColor(LogicColorConstants.ghostFillColor);