public void widgetSelected(SelectionEvent e) {
description
.setText("Create a simple resource by manually entering all the details given below.\n"
- + "\t1. Basic resource details: URI, Name, Resource Types, etc.\n"
- + "\t2. Options such as Observable, allowed request types, start/stop resource etc.\n"
- + "\t3. Adding attributes.");
+ + "\t1. Basic resource details: URI, Name, Resource Type, and Interface types.\n"
+ + "\t2. Options such as Observable and Discoverable.\n"
+ + "\t3. Adding simple attributes.");
option = Option.SIMPLE;
getWizard().getContainer().updateButtons();
}
.setText("Create a simple resource from RAML configuration file.\n"
+ "\t1. Resource details, attributes, and other properties will be read from RAML.\n"
+ "\t2. Supports multi-instance creation.\n"
- + "\t3. For single instance creation, allows editing the URI and Name of the resource.\n"
- + "\t4. Allows to start or stop the resource(s).");
+ + "\t3. For single instance creation, allows editing the URI and Name of the resource.");
option = Option.SIMPLE_FROM_RAML;
getWizard().getContainer().updateButtons();
}
{\r
readAllOf(itemAllOf , param);\r
}\r
+ else\r
+ {\r
+ cJSON *itemOneOf = cJSON_GetObjectItem(item, "oneOf");\r
+ if (itemOneOf)\r
+ {\r
+ readAllOf(itemOneOf , param);\r
+ }\r
+ }\r
+\r
cJSON *itemReference = cJSON_GetObjectItem(item, "$ref");\r
if (itemReference)\r
{\r