This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix chat layout in Firefox, implement dummy mode for new action
- Loading branch information
Alex Eng
committed
May 9, 2012
1 parent
629935f
commit 3052c7c
Showing
7 changed files
with
106 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
31 changes: 31 additions & 0 deletions
31
...ta-war/src/test/java/org/zanata/webtrans/client/rpc/DummyPublishWorkspaceChatCommand.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package org.zanata.webtrans.client.rpc; | ||
|
||
import org.zanata.webtrans.shared.rpc.PublishWorkspaceChatAction; | ||
import org.zanata.webtrans.shared.rpc.PublishWorkspaceChatResult; | ||
|
||
import com.allen_sauer.gwt.log.client.Log; | ||
import com.google.gwt.user.client.Command; | ||
import com.google.gwt.user.client.rpc.AsyncCallback; | ||
|
||
public class DummyPublishWorkspaceChatCommand implements Command | ||
{ | ||
|
||
private final AsyncCallback<PublishWorkspaceChatResult> callback; | ||
private final PublishWorkspaceChatAction action; | ||
|
||
DummyPublishWorkspaceChatCommand(PublishWorkspaceChatAction action, AsyncCallback<PublishWorkspaceChatResult> callback) | ||
{ | ||
this.callback = callback; | ||
this.action = action; | ||
} | ||
|
||
@Override | ||
public void execute() | ||
{ | ||
Log.info("ENTER DummyPublishWorkspaceChatCommand.execute()"); | ||
|
||
callback.onSuccess(new PublishWorkspaceChatResult()); | ||
Log.info("EXIT PublishWorkspaceChatResult.execute()"); | ||
|
||
} | ||
} |