Sha256: 5c6798a1aa9406b37875d24348657be5359c22f42ce8857443a04a12fd6ddde0

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.1 app_generators/pureapp/templates/shell/controller/load_dashboard_module_command.as