| Summary: | Java discovery settings "filter" radio buttons | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Nicolas Bros <nicolas.bros> | ||||
| Component: | Infrastructure | Assignee: | Fabien Giquel <fabien.giquel> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | trivial | ||||||
| Priority: | P1 | CC: | barbier.gabriel, fabien.giquel, hugo.bruneliere, modisco.web-inbox, romain.dervaux | ||||
| Version: | 0.9.0 | Flags: | fabien.giquel:
indigo+
|
||||
| Target Milestone: | 0.9.0 M3 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Nicolas Bros
Created attachment 179232 [details]
Improve Java discover settings "filter" radio buttons
Hi.
Here is a patch which provides the requested feature.
It allowed me to detect and correct a bug :
If the user entered a regexp in the excluded elements, then click on the included elements radio button to finally close the wizard, the discoverer will in all cases eliminate the elements designated in the excluded elements.
Same problem with included elements.
That's because the DiscoveryParametersBean object in the org.eclipse.gmt.modisco.java.actions.ui.JavaWizardFirstPage class is updated in the validatePage() method, which is not called when the user close the wizard ("Finish" button) or when the user choose the "(Do not) Analyse only types/packages..." radio buttons.
Hope it's clear.
Well done, thank you for your path. It has been commited into SVN. Fabien. Too fast. I forgot to ask you the usual confirmations : (a) I wrote 100% of the code I’ve provided (b) I have the right to contribute the code to Eclipse (c) I contribute the content under the EPL. Thanks. The contribution is less than 250 lines and does not require CQ. 1. I, DERVAUX romain, and others contributors listed in this bug, authored 100% of the content 2. I have the rights to donate the content to Eclipse under the EPL 3. I have already provided the filled Employer Consent Forms to the Foundation Romain DERVAUX Mark the bug as fixed. The patch has been successfully integrated. |