-
- collectionBtn.addSelectionListener(new SelectionAdapter() {
- @Override
- public void widgetSelected(SelectionEvent e) {
- description
- .setText("Create a collection resource by manually entering all the details given below.\n"
- + "\t1. Basic resource details: URI, Name, Resource Types, etc.\n"
- + "\t2. Start/stop the resource.\n"
- + "\t3. Adding existing simple resources to this collection.");
- option = Option.COLLECTION;
- getWizard().getContainer().updateButtons();
- }
- });
-
- collectionFromRamlBtn.addSelectionListener(new SelectionAdapter() {
- @Override
- public void widgetSelected(SelectionEvent e) {
- description
- .setText("Create a collection 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).");
- option = Option.COLLECTION_FROM_RAML;
- getWizard().getContainer().updateButtons();
- }
- });
-
- deviceBtn.addSelectionListener(new SelectionAdapter() {
- @Override
- public void widgetSelected(SelectionEvent e) {
- description
- .setText("Create a logical device that acts as a top-level logical classification.\n"
- + "\t1. Takes a device name for identication.\n"
- + "\t2. One or more simple and collection resources can be added to it.");
- option = Option.DEVICE;
- getWizard().getContainer().updateButtons();
- }
- });