-
Notifications
You must be signed in to change notification settings - Fork 0
ConfigEditor.md
Feature configuration editor allows to create feature configuration according to the specified feature model. See feauture model editor how to create a feauture model.
It is recommended to switch to Feature Modeling Perspective which is available from Menu > Window > Open Perspective > Other. This perspective provides collection of standard views and their layout.
- Open New Feature Configuration Wizard from Menu > File > Other.. by selecting YAFMT > New Feature Configuration.
- Select parent project and name of the feature configuration file. Click Next to continue.
- Choose appropriate feature model and set properties of the feature configuration. Click Finish to complete the wizard.
Note: You can also open the wizard via context menu of a selected feature model file inside the projects view. In that case, the selected feature model is used as default for the new feature configuration.
The editor interface consists of 2 parts:
- Double-click on a feature to add or remove it from the configuration.
- Double-click on an attribute to edit its value.
- Features can be also added or removed using toolbar or context menu.
- Properties of selected objects can be edited in the properties view.
- The configuration tree grows (or is pruned) as you select more and more features.
Icon | Name | Keyboard shortcut | Description |
---|---|---|---|
Zoom In | Ctrl++ | Zooms in. You can also use mouse wheel together with Ctrl to zoom. | |
Zoom Out | Ctrl+- | Zooms out. You can also use mouse wheel together with Ctrl to zoom. |
| Select All | *Ctrl+A* | Selects all objects.
| Undo | Ctrl+Z | Undoes the last action. | Redo | Shift+Ctrl+Z | Re-does the last undone action. | Select Features | Ctrl+S | Adds feature to the configuration. | Deselect Features | Ctrl+D | Removes feature from the configuration. | Show Feature Model Visualizer | | Opens feature model visualizer view. | Export as Image | | Opens dialog window to export contents of the editing area as an image.
Object Visuals | Description |
---|---|
Unselected feature. This feature is not present in the configuration, but can be added. | |
Selected feature. This feature is part of the configuration. | |
Selected feature with validation error. The tooltip of the icon contains error message. Validation errors are also displayed in the problems view. | |
Unselectable feature. This feature cannot be added to the configuration due to a constraint (defined by a feature group). |
- Use the Layout combo box to change layout of the displayed tree.
- The vertical tree layout is shown on the image above.
- The images below show the horizontal tree layout.
- Use the Unselected features visibility combo box to change visibility of
features available to add to the configuration.
- Hide All item hides all options (useful when printing diagram).
- Show Only Selectable item shows only valid options (according to constraints defined by feature groups).
- Show All item shows everything.
See feauture model editor page for more information about available views.