Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334646

Summary: [Discovery] Popup menu with UI for parameter values
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hugo.bruneliere, modisco.web-inbox
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M5   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch none

Description Nicolas Bros CLA 2011-01-18 09:18:06 EST
We need to reinstate the MoDisco sub-menu that appears in the context menu on any selection.
Comment 1 Nicolas Bros CLA 2011-01-18 09:45:15 EST
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.
Comment 2 Nicolas Bros CLA 2011-01-18 10:27:06 EST
This patch has to be adapted based on the refactoring to use an ecore model for representing discoverers.
Comment 3 Nicolas Bros CLA 2011-01-19 09:04:53 EST
I adapted the patch and committed it and the test plug-in in revision 3760.
Comment 4 Hugo Bruneliere CLA 2011-08-18 07:41:16 EDT
Upgrade done.