registerCommand(new PopupDialogCommand(), "PopupDialogCommand", null,
null, null);
// Execute a command retrieved from RemoteCommandRegistrarConnection
final CommandRegistrarConnection connection =
new RemoteCommandRegistrarConnection();
final CommandRequest request =
new CommandRequest("CommandFrameworkDemoRemoteAppCommand");
final Command command = connection.getCommand(request);
// The Command reference may be null if the
// CommandFrameworkDemoRemoteApp
// project has not been loaded.
if (command != null) {