AsyncCallback<GetDocumentListResult> gdlCallback =
(AsyncCallback<GetDocumentListResult>) callback;
Scheduler.get().scheduleDeferred(
new DummyGetDocsListCommand(gdlAction, gdlCallback));
} else if (action instanceof ActivateWorkspaceAction) {
final ActivateWorkspaceAction gwcAction =
(ActivateWorkspaceAction) action;
AsyncCallback<ActivateWorkspaceResult> gwcCallback =
(AsyncCallback<ActivateWorkspaceResult>) callback;
Scheduler.get().scheduleDeferred(
new DummyActivateWorkspaceCommand(gwcAction, gwcCallback));