Sha256: a9c89dbd55ee07aa6cf39cbf304df575efa0a5e317ce97df92ba2b652e6bd234

Contents?: true

Size: 678 Bytes

Versions: 1

Compression:

Stored size: 678 Bytes

Contents

package <%= base_package%>.shell.controller {
	import <%= base_package%>.shell.<%= name%>ShellConstants;	
	import <%= base_package%>.shell.model.ModuleDescriptor;
	
	import org.puremvc.as3.multicore.interfaces.INotification;	
	import org.puremvc.as3.multicore.utilities.fabrication.patterns.command.SimpleFabricationCommand;	
	
	public class LoadDashboardModuleCommand extends SimpleFabricationCommand {
		
		override public function execute(note:INotification):void {
			trace("loading dashboard module")
			var moduleDescriptor:ModuleDescriptor = new ModuleDescriptor("DashboardModule.swf");
			sendNotification(<%= name%>ShellConstants.ADD_MODULE, moduleDescriptor);
		}
	}
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fabricator-0.0.5 app_generators/pureapp/templates/shell/controller/load_dashboard_module_command.as