protected void fireWorldUnLoading(edu.cmu.cs.stage3.alice.core.World world) {
AuthoringToolStateChangedEvent ev = new AuthoringToolStateChangedEvent(AuthoringToolStateChangedEvent.AUTHORING_STATE, AuthoringToolStateChangedEvent.AUTHORING_STATE, world);
for (java.util.Iterator iter = stateListeners.iterator(); iter.hasNext();) {
AuthoringToolStateListener listener = (AuthoringToolStateListener) iter.next();
try {
listener.worldUnLoading(ev);
} catch (Throwable t) {
AuthoringTool.showErrorDialog("Error in listener responding to world unload.", t);
}
}
}