+ private void drawComponent(GeneralGC gc, BasicGUIComponent component)
+ {
+ TranslatedGC tgc = new TranslatedGC(gc, componentPositions.get(component));
+ component.render(tgc);
+ tgc.setBackground(display.getSystemColor(SWT.COLOR_BLUE));
+ for(int i = 0; i < component.getConnectedWireArraysCount(); i ++)
+ {
+ Point connectionPoint = component.getWireArrayConnectionPoint(i);
+ if(connectionPoint != null)
+ tgc.fillOval(connectionPoint.x - 2, connectionPoint.y - 2, 4, 4);
+ }
+ }