This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<swiz:BeanProvider xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:swiz="http://swiz.swizframework.org"> | |
<mx:Script> | |
<![CDATA[ | |
import mx.core.FlexGlobals; | |
]]> | |
</mx:Script> | |
<swiz:ChannelSetHelper id="channelSet" |
This file contains hidden or 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
public interface IAutonomousChainStep extends IChainStep | |
{ | |
function doProceed():void; | |
} |
This file contains hidden or 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
package chains | |
{ | |
import org.swizframework.utils.chain.AbstractChain; | |
import org.swizframework.utils.chain.IAutonomousChainStep; | |
import org.swizframework.utils.chain.IChain; | |
public class CompositeChain extends AbstractChain implements IChain | |
{ | |
public function doProceed():void | |
{ |
This file contains hidden or 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
<swiz:Swiz> | |
<swiz:beanProviders> | |
<local:MyBeans /> | |
</swiz:beanProviders> | |
<swiz:config> | |
<swiz:SwizConfig | |
setUpEventType="{ Event.ADDED_TO_STAGE }" | |
setUpEventPhase="{ EventPhase.CAPTURING_PHASE }" | |
setUpEventPriority="50" |
This file contains hidden or 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
[Inject( "userService" )] | |
public var ro:RemoteObject; | |
[Inject] | |
public var sh:ServiceHelper; | |
public function fetchUserRoles( user:User ):void | |
{ | |
sh.executeServiceCall( ro.fetchUserRoles( user.id ), fetchUserRoles_result, fetchUserRoles_fault, [ user ] ); | |
} |
This file contains hidden or 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
[Mediate( event="com.foo.events.UserEvent.ADD_USER" )] | |
public function mediateAddUserEvent( event:UserEvent ):void | |
{ | |
// do stuff | |
} |
This file contains hidden or 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
[Inject( source="userModel.currentMode", destination="modeViewStack.selectedIndex" )] |