hub.getController2DModel().setDrawElement("C");
} else if (type.equals("benzene")) {
newActiveModule=new AddRingModule(hub, 6, true);
hub.getController2DModel().setDrawElement("C");
} else if (type.equals("atomatommapping")) {
newActiveModule=new AtomAtomMappingModule(hub);
hub.getController2DModel().setDrawElement("C");
} else if (type.equals("rotate")) {
newActiveModule=new RotateModule(hub);
} else if (type.equals("rotate3d")) {
newActiveModule=new Rotate3DModule(hub);