[sandbox.akabana]/trunk/yui-frameworks/yui-command/src/main/flex/jp/akb7/yui/cmd/SequenceCommand.as
Parent Directory
|
Revision Log
|
Patch
| revision 720 by e1arkw, Sun Apr 12 17:00:13 2009 JST | revision 753 by e1arkw, Mon Jun 1 16:05:36 2009 JST | |
|---|---|---|
| # | Line 22 package org.seasar.akabana.yui.command | Line 22 package org.seasar.akabana.yui.command |
| 22 | { | { |
| 23 | protected var currentCommandIndex:int; | protected var currentCommandIndex:int; |
| 24 | ||
| 25 | protected override function doRun(...args):void{ | protected override function run(...args):void{ |
| 26 | currentCommandIndex = 0; | currentCommandIndex = 0; |
| 27 | if( commands.length > 0 ){ | if( commands.length > 0 ){ |
| 28 | doStartCommands(args); | doStartCommands(args); |
| 29 | } else { | } else { |
| 30 | complete(); | done(); |
| 31 | } | } |
| 32 | } | } |
| 33 | ||
| # | Line 40 package org.seasar.akabana.yui.command | Line 40 package org.seasar.akabana.yui.command |
| 40 | doStartCommandAt(currentCommandIndex); | doStartCommandAt(currentCommandIndex); |
| 41 | } else { | } else { |
| 42 | childCompleteEventHandler = null; | childCompleteEventHandler = null; |
| 43 | complete(); | done(); |
| 44 | } | } |
| 45 | } | } |
| 46 | ||
| # | Line 49 package org.seasar.akabana.yui.command | Line 49 package org.seasar.akabana.yui.command |
| 49 | childErrorEventHandler(event); | childErrorEventHandler(event); |
| 50 | } | } |
| 51 | childErrorEventHandler = null; | childErrorEventHandler = null; |
| 52 | error(event); | failed(event); |
| 53 | } | } |
| 54 | ||
| 55 | protected function doStartCommands(args:Array):void{ | protected function doStartCommands(args:Array):void{ |
|
||||||||
| Repository Top ViewVC Help |
![]() |
| Powered by ViewVC |

