}
private CommandDescription createCommand(long controllerUniqueId, String commandId, String value, String iconId,
String labelId, String description, boolean visible, boolean enabled)
{
CommandDescription cd = new CommandDescription();
cd.setControllerUniqueId(controllerUniqueId);
cd.setCommandId(commandId);
cd.setValue(value);
cd.setTextId(labelId);
cd.setIconId(iconId);
cd.setVisible(visible);
cd.setEnabled(enabled);
registerObject(cd);
return cd;
}