Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package org.litesoft.GWT.client.command.queue;

import com.google.gwt.user.client.*;

public interface CommandQueueListener extends java.util.EventListener
{
    boolean beforeCommandAdded( CommandQueueBase pQueue, Command pCommand );

    void afterCommandAdded( CommandQueueBase pQueue, Command pCommand );

    /**
     * Called immediately before a pCommand is be executed
     *
     * @param pQueue   the pQueue executing the pCommand
     * @param pCommand the pCommand to be executed
     *
     * @return <code>false</code> to cancel executing the pCommand
     */
    boolean beforeCommandExecuted( CommandQueueBase pQueue, Command pCommand );

    /**
     * Called immediately after a pCommand is executed
     *
     * @param pQueue   the pQueue executing the pCommand
     * @param pCommand the pCommand which was executed
     */
    void afterCommandExecuted( CommandQueueBase pQueue, Command pCommand );
}

Commits for litesoft/trunk/Java/GWT/Client/src/org/litesoft/GWT/client/command/queue/CommandQueueListener.java

Diff revisions: vs.
Revision Author Commited Message
2 GeorgeS picture GeorgeS Sun 07 Feb, 2010 12:50:58 +0000