}
if (cmdAction.enabledProperty() != null
&& cmdAction.enabledProperty().length() > 0) {
cmdActionDescriptor.enabledProperty = cmdAction.enabledProperty();
}
if (cmdAction.selectedProperty() != null
&& cmdAction.selectedProperty().length() > 0) {
cmdActionDescriptor.selectedProperty = cmdAction.selectedProperty();
}
cmdActionDescriptorList.add(cmdActionDescriptor);
}