| Summary: | [Discovery] Popup menu with UI for parameter values | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Nicolas Bros <nicolas.bros> | ||||
| Component: | Infrastructure | Assignee: | Nicolas Bros <nicolas.bros> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | hugo.bruneliere, modisco.web-inbox | ||||
| Version: | 0.9.0 | Flags: | nicolas.bros:
indigo+
|
||||
| Target Milestone: | 0.9.0 M5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Nicolas Bros
Created attachment 187001 [details]
patch
Here is a patch.
New extension point: org.eclipse.modisco.infra.discovery.ui.discoverer_ui
It allows to register the UI part of a discoverer in the discoverers registry, so that it appears in the MoDisco menu of discoverers.
The extension is defined in org.eclipse.modisco.infra.discovery.ui.
And JUnit tests in org.eclipse.modisco.infra.discovery.ui.tests.
The MoDisco menu is dynamic (ContributionItemForMoDiscoMenu), and when a discoverer is clicked (MoDiscoMenuSelectionListener), and parameters are entered by the user (GenericParametersDialog), the discoverer is called with the parameters in a Job.
This patch has to be adapted based on the refactoring to use an ecore model for representing discoverers. I adapted the patch and committed it and the test plug-in in revision 3760. Upgrade done. |