{
ThingComponentRegistry thingRegistry = ((IThingMappingModel) controller.getMappingModel()).getThingRegistry();
for (IComponent iComponent : thingRegistry.getComponents())
{
IComponentUI cUI = iComponent.getUI();
if (cUI instanceof BasicEdgeComponentUI)
{
BasicEdgeComponentUI edge = (BasicEdgeComponentUI) cUI;
edge.setLineColor(Color.GREEN);
}