| Summary: | [Table] rewrite the "allowed contents" query selection dialog for v0.2 | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Nicolas Bros <nicolas.bros> |
| Component: | EMF-Facet | Assignee: | Nicolas Bros <nicolas.bros> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P5 | CC: | emft.facet-inbox, gdupe |
| Version: | unspecified | Flags: | gdupe:
juno+
|
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Nicolas Bros
I have committed a new generic ETypedElement selection dialog in: org.eclipse.emf.facet.efacet.ui.dialogs.IETypedElementSelectionDialog it can be opened from: org.eclipse.emf.facet.efacet.ui.dialogs.IETypedElementSelectionDialogFactory the unit tests for the ETypedElement selection dialog are in: org.eclipse.emf.facet.efacet.tests.internal.ETypedElementsSelectionDialogTests The new dialog to choose an ETypedElement to determine what contents are allowed in a table is based on the generic ETypedElement selection dialog. Its interface is: org.eclipse.emf.facet.widgets.table.ui.dialog.IAllowedContentsETypedElementSelectionDialog Committed in revision 1582. This bug is still missing unit tests for the new AllowedContentsETypedElementSelectionDialog. These tests will have to be written once this new dialog is integrated with the new table. I committed a refactoring of the ETypedElement selection dialog and accompanying unit tests in revision 1654, to extract a re-usable ETypedElement selection widget with a public API, and to open the dialog from a list of ETypedElements instead of relying on a viewer filter passed to the dialog. And I adapted the "allowed contents" ETypedElement selection dialog. I adapted the tests to the dialog API changes in revision 2111. |