| Summary: | Provide ResourceChooser UI element for CDO | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Martin Fluegge <martin.fluegge> | ||||||
| Component: | cdo.ui | Assignee: | Martin Fluegge <martin.fluegge> | ||||||
| Status: | ASSIGNED --- | QA Contact: | Eike Stepper <stepper> | ||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | stepper | ||||||
| Version: | 4.13 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Martin Fluegge
Created attachment 186216 [details]
Patch v1
I separated the chooser element from the DawnResourceCreationWizardPage and created an own Composite which handles the complete resource selection.
Given a CDOView it provides:
- displaying the content of the repository
- customization whether only folders are shown, or also the containing resources
- validation of the selection (resource must not have empty names, resources must end with specific prefix)
- customizable handling if existing resources are selected (Error, warning, None)
- listeners can be plugged into the validation process to be notified after the validation in the composite is done (very useful if the new composite is integrated in WizardPages ;))
Currently I left the implementation in the Dawn UI plug-in because there are some Dawn dependencies left. In the next step I am going to move the Composite to CDO UI.
Patch v1 committed to HEAD. Created attachment 187264 [details]
Patch Test Fix v1
With the changes in patch v1 some Dawn test cases were broken which I did not notice. The patch fixes the problem.
Patch Test Fix v1 committed to HEAD. Moving all open enhancement requests to 4.1 Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master. Moving all outstanding enhancements to 4.3 Moving all open enhancement requests to 4.4 Moving all open enhancement requests to 4.4 Moving all open bugzillas to 4.5. Moving all unaddressed bugzillas to 4.6. Moving all open bugs to 4.7 Moving all unresolved issues to version 4.8- Moving all unresolved issues to version 4.9 Moving to 4.13. |