Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
74 changed files
with
2,335 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<actionScriptProperties mainApplicationPath="AcmeWidgetFactory.mxml" projectUUID="2a461a4a-1779-48f8-abc2-c97515cf9a99" version="6"> | ||
<compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="false" copyDependentFiles="true" flexSDK="Flex 3.4" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true"> | ||
<compilerSourcePath/> | ||
<libraryPath defaultLinkType="0"> | ||
<libraryPathEntry kind="4" path=""> | ||
<excludedEntries> | ||
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/> | ||
</excludedEntries> | ||
</libraryPathEntry> | ||
<libraryPathEntry kind="1" linkType="1" path="libs"/> | ||
<libraryPathEntry kind="3" linkType="1" path="/robotlegs-framework/bin/robotlegs-framework.swc" useDefaultLinkType="false"/> | ||
</libraryPath> | ||
<sourceAttachmentPath/> | ||
</compiler> | ||
<applications> | ||
<application path="AcmeWidgetFactory.mxml"/> | ||
</applications> | ||
<modules/> | ||
<buildCSSFiles/> | ||
</actionScriptProperties> |
Binary file not shown.
34 changes: 34 additions & 0 deletions
34
...idgetFactory/src/org/robotlegs/demos/acmewidgetfactory/modules/generic/GenericModule.mxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009" | ||
xmlns:s="library://ns.adobe.com/flex/spark" | ||
xmlns:mx="library://ns.adobe.com/flex/halo" | ||
xmlns:generic="org.robotlegs.demos.acmewidgetfactory.modules.generic.*" | ||
implements="org.robotlegs.utilities.modular.core.IModuleContextView" | ||
backgroundColor="#009933" | ||
useHandCursor="true" | ||
buttonMode="true" | ||
layout="vertical" | ||
borderStyle="solid" | ||
cornerRadius="5" | ||
width="124" | ||
height="84"> | ||
|
||
<fx:Script> | ||
<![CDATA[ | ||
import org.robotlegs.utilities.modular.core.IModuleContextView; | ||
import org.robotlegs.utilities.modular.core.IModuleEventDispatcher; | ||
[Inject] | ||
public function setModuleDispatcher(dispatcher:IModuleEventDispatcher):void | ||
{ | ||
context.setModuleDispatcher(dispatcher); | ||
} | ||
]]> | ||
</fx:Script> | ||
|
||
<fx:Declarations> | ||
<generic:GenericModuleContext id="context" | ||
contextView="{this}"/> | ||
</fx:Declarations> | ||
|
||
</mx:Module> |
21 changes: 21 additions & 0 deletions
21
...Factory/src/org/robotlegs/demos/acmewidgetfactory/modules/generic/GenericModuleContext.as
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (c) 2009 the original author or authors | ||
* | ||
* Permission is hereby granted to use, modify, and distribute this file | ||
* in accordance with the terms of the license agreement accompanying it. | ||
*/ | ||
|
||
package org.robotlegs.demos.acmewidgetfactory.modules.generic | ||
{ | ||
import org.robotlegs.utilities.modular.mvcs.ModuleContext; | ||
|
||
public class GenericModuleContext extends ModuleContext | ||
{ | ||
|
||
override public function startup():void | ||
{ | ||
mediatorMap.mapView(GenericModule, GenericModuleMediator); | ||
} | ||
|
||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...actory/src/org/robotlegs/demos/acmewidgetfactory/modules/generic/GenericModuleMediator.as
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Copyright (c) 2009 the original author or authors | ||
* | ||
* Permission is hereby granted to use, modify, and distribute this file | ||
* in accordance with the terms of the license agreement accompanying it. | ||
*/ | ||
|
||
package org.robotlegs.demos.acmewidgetfactory.modules.generic | ||
{ | ||
import flash.events.Event; | ||
import flash.events.MouseEvent; | ||
|
||
import org.robotlegs.utilities.modular.mvcs.ModuleMediator; | ||
|
||
public class GenericModuleMediator extends ModuleMediator | ||
{ | ||
[Inject] | ||
public var view:GenericModule; | ||
|
||
override public function onRegister():void | ||
{ | ||
eventMap.mapListener(view, MouseEvent.CLICK, onViewClick); | ||
eventMap.mapListener(moduleDispatcher, "SomeModuleEvent", onSomeModuleEvent ); | ||
} | ||
|
||
protected function onViewClick(e:MouseEvent):void | ||
{ | ||
moduleDispatcher.dispatchEvent(new Event("SomeModuleEvent")); | ||
} | ||
|
||
protected function onSomeModuleEvent(e:Event):void | ||
{ | ||
view.alpha *= 0.8; | ||
(view.alpha > 0.1) || (view.alpha = 0.9); | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<actionScriptProperties mainApplicationPath="CafeTownsend.mxml" projectUUID="9f052255-e597-4732-8123-e2528c3ab1ea" version="6"> | ||
<compiler additionalCompilerArguments="-locale en_US -keep-as3-metadata+="Inject,PostConstruct"" autoRSLOrdering="false" copyDependentFiles="true" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true"> | ||
<compilerSourcePath> | ||
<compilerSourcePathEntry kind="1" linkType="1" path="locale/{locale}"/> | ||
<compilerSourcePathEntry kind="1" linkType="1" path="build"/> | ||
</compilerSourcePath> | ||
<libraryPath defaultLinkType="0"> | ||
<libraryPathEntry kind="4" path=""> | ||
<excludedEntries> | ||
<libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/> | ||
</excludedEntries> | ||
</libraryPathEntry> | ||
<libraryPathEntry kind="3" linkType="1" path="/robotlegs-framework/bin/robotlegs-framework.swc" useDefaultLinkType="false"/> | ||
</libraryPath> | ||
<sourceAttachmentPath/> | ||
</compiler> | ||
<applications> | ||
<application path="CafeTownsend.mxml"/> | ||
</applications> | ||
<modules/> | ||
<buildCSSFiles/> | ||
<publishSource> | ||
<sourcePathIncludes> | ||
<include path="build"/> | ||
</sourcePathIncludes> | ||
<sourceExcludes> | ||
<exclude path="html-template"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/detail/controller"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/detail/service"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/detail/view/components/assets"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/detail/view/components/events"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/list/controller"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/list/model/vo"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/list/service/dto"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/list/view/components/assets"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/list/view/components/events"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/main/controller"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/main/service/dto"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/main/view/components/events"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/user/service/dto"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/user/view/components/assets"/> | ||
<exclude path="src/org/robotlegs/demos/cafetownsend/user/view/components/events"/> | ||
</sourceExcludes> | ||
</publishSource> | ||
</actionScriptProperties> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<flexProperties enableServiceManager="false" flexServerFeatures="0" flexServerType="0" toolCompile="true" useServerFlexSDK="false" version="2"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.svn/ | ||
bin/ | ||
bin-debug/ | ||
html-template/ | ||
libs/ | ||
.DS_Store | ||
.settings | ||
bin-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>CafeTownsend_Robotlegs</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>com.adobe.flexbuilder.project.flexbuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>com.adobe.flexbuilder.project.flexnature</nature> | ||
<nature>com.adobe.flexbuilder.project.actionscriptnature</nature> | ||
</natures> | ||
</projectDescription> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<employees> | ||
<employee> | ||
<emp_id>1</emp_id> | ||
<firstname>Shaun</firstname> | ||
<lastname>Smith</lastname> | ||
<email>darscan@cafetownsend.com</email> | ||
<startdate>04/17/2009</startdate> | ||
</employee> | ||
<employee> | ||
<emp_id>2</emp_id> | ||
<firstname>Joel</firstname> | ||
<lastname>Hooks</lastname> | ||
<email>jhooks@cafetownsend.com</email> | ||
<startdate>07/15/2009</startdate> | ||
</employee> | ||
<employee> | ||
<emp_id>3</emp_id> | ||
<firstname>Robert</firstname> | ||
<lastname>Penner</lastname> | ||
<email>robpenner@cafetownsend.com</email> | ||
<startdate>09/24/2009</startdate> | ||
</employee> | ||
<employee> | ||
<emp_id>4</emp_id> | ||
<firstname>Till</firstname> | ||
<lastname>Schneidereit</lastname> | ||
<email>tschneidereit@cafetownsend.com</email> | ||
<startdate>10/01/2009</startdate> | ||
</employee> | ||
<employee> | ||
<emp_id>5</emp_id> | ||
<firstname>Stray</firstname> | ||
<lastname>x</lastname> | ||
<email>stray_and_ruby@cafetownsend.com</email> | ||
<startdate>10/20/2009</startdate> | ||
</employee> | ||
</employees> |
Oops, something went wrong.