litesoft
Diff Revisions
23
vs
49
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/command/queue/CommandQueueBase.java
|
@@ -1,3 +1,4 @@ |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
1 |
2 |
|
package org.litesoft.GWT.client.command.queue; |
2 |
3 |
|
|
3 |
4 |
|
import java.util.*; |
|
@@ -64,7 +65,7 @@ |
64 |
65 |
|
|
65 |
66 |
|
protected boolean addImpl( Command pCommand ) |
66 |
67 |
|
{ |
67 |
|
- |
// Debug.println("CommandQueue.addImpl(" + command + ')'); |
|
68 |
+ |
// Debug.println("CommandQueue.addImpl(" + command + ')'); |
68 |
69 |
|
if ( !fireBeforeCommandAdded( pCommand ) ) |
69 |
70 |
|
{ |
70 |
71 |
|
return false; |
|
@@ -79,7 +80,7 @@ |
79 |
80 |
|
|
80 |
81 |
|
protected void run() |
81 |
82 |
|
{ |
82 |
|
- |
// Debug.println("CommandQueue.run()"); |
|
83 |
+ |
// Debug.println("CommandQueue.run()"); |
83 |
84 |
|
executeCommand( mQueue.remove( 0 ) ); |
84 |
85 |
|
if ( hasNext() ) |
85 |
86 |
|
{ |
|
@@ -98,7 +99,7 @@ |
98 |
99 |
|
*/ |
99 |
100 |
|
protected void executeCommand( Command pCommand ) |
100 |
101 |
|
{ |
101 |
|
- |
// Debug.println("CommandQueue.executeCommand(" + command + ")"); |
|
102 |
+ |
// Debug.println("CommandQueue.executeCommand(" + command + ")"); |
102 |
103 |
|
if ( !fireBeforeCommandExecuted( pCommand ) ) |
103 |
104 |
|
{ |
104 |
105 |
|
return; |