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);
} else if (type.equals("reactionArrow")) {
newActiveModule=new ReactionArrowModule(hub);
} else if (type.equals("chain")) {