/** * {@inheritDoc} */ @Override public void setActionEnabled(RAction action, boolean enabled) { action.setEnabled(enabled); RemoteEnablementCommand command = new RemoteEnablementCommand(); command.setTargetPeerGuid(action.getGuid()); command.setEnabled(action.isEnabled()); remoteCommandHandler.registerCommand(command); }