public void setVisualisedObjectManager(VisualisedObjectManager manager) {
if(manager == null) {
throw new NullPointerException("VisualisedObjectManager must not be null");
}
VisualisedObjectManager oldVisualisedObjectManager = this.visualisedObjectManager;
// Swap over the listeners
Iterator it = oldVisualisedObjectManager.getVisualisedObjectManagerListeners();
this.visualisedObjectManager = manager;
while(it.hasNext()) {
VisualisedObjectManagerListener lsnr = (VisualisedObjectManagerListener) it.next();