litesoft
Diff Revisions
949
vs
950
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/command/queue/CommandQueueListener.java
|
@@ -1,28 +1,28 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.GWT.client.command.queue; |
3 |
|
- |
|
4 |
|
- |
import com.google.gwt.user.client.*; |
5 |
|
- |
|
6 |
|
- |
public interface CommandQueueListener extends java.util.EventListener { |
7 |
|
- |
boolean beforeCommandAdded( CommandQueueBase pQueue, Command pCommand ); |
8 |
|
- |
|
9 |
|
- |
void afterCommandAdded( CommandQueueBase pQueue, Command pCommand ); |
10 |
|
- |
|
11 |
|
- |
/** |
12 |
|
- |
* Called immediately before a pCommand is be executed |
13 |
|
- |
* |
14 |
|
- |
* @param pQueue the pQueue executing the pCommand |
15 |
|
- |
* @param pCommand the pCommand to be executed |
16 |
|
- |
* |
17 |
|
- |
* @return <code>false</code> to cancel executing the pCommand |
18 |
|
- |
*/ |
19 |
|
- |
boolean beforeCommandExecuted( CommandQueueBase pQueue, Command pCommand ); |
20 |
|
- |
|
21 |
|
- |
/** |
22 |
|
- |
* Called immediately after a pCommand is executed |
23 |
|
- |
* |
24 |
|
- |
* @param pQueue the pQueue executing the pCommand |
25 |
|
- |
* @param pCommand the pCommand which was executed |
26 |
|
- |
*/ |
27 |
|
- |
void afterCommandExecuted( CommandQueueBase pQueue, Command pCommand ); |
28 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.GWT.client.command.queue; |
|
3 |
+ |
|
|
4 |
+ |
import com.google.gwt.user.client.*; |
|
5 |
+ |
|
|
6 |
+ |
public interface CommandQueueListener extends java.util.EventListener { |
|
7 |
+ |
boolean beforeCommandAdded( CommandQueueBase pQueue, Command pCommand ); |
|
8 |
+ |
|
|
9 |
+ |
void afterCommandAdded( CommandQueueBase pQueue, Command pCommand ); |
|
10 |
+ |
|
|
11 |
+ |
/** |
|
12 |
+ |
* Called immediately before a pCommand is be executed |
|
13 |
+ |
* |
|
14 |
+ |
* @param pQueue the pQueue executing the pCommand |
|
15 |
+ |
* @param pCommand the pCommand to be executed |
|
16 |
+ |
* |
|
17 |
+ |
* @return <code>false</code> to cancel executing the pCommand |
|
18 |
+ |
*/ |
|
19 |
+ |
boolean beforeCommandExecuted( CommandQueueBase pQueue, Command pCommand ); |
|
20 |
+ |
|
|
21 |
+ |
/** |
|
22 |
+ |
* Called immediately after a pCommand is executed |
|
23 |
+ |
* |
|
24 |
+ |
* @param pQueue the pQueue executing the pCommand |
|
25 |
+ |
* @param pCommand the pCommand which was executed |
|
26 |
+ |
*/ |
|
27 |
+ |
void afterCommandExecuted( CommandQueueBase pQueue, Command pCommand ); |
|
28 |
+ |
} |