             }
             loadModule(module);
         }
-        
+
         /**
          * Checks whether the module a registered Module and calls unloadModule to unload it.
          *

         */
        [Observer("UNLOAD_ALL_MODULES")]
        public function unloadAllModules() : void {
        	for each (var url:String in modelLocator.loadedModules.keys) {
        		var module:Module = new Module();
        		module.url = url;
        		unloadModule(module);
        	}
        }

        /**
         * Tries to save the module data via a service call.
         * Is called when the SAVE_MODULE event is fired.
         * 
         * @param event An ApplicationEvent that holds the Module to be saved in its data field
         */
        [Observer("SAVE_MODULE")]

         */
        [Observer("LOAD_ALL_MODULES")]
        public function loadModulesFromService() : void {
            trace("Loading all module definitions from the database");
            tideContext.moduleService.findAll(onModulesLoad, onFault);
        }

