| Summary: | To be able to change the "CanBePresentedInTheTable" query | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Gregoire Dupe <gdupe> | ||||||||||||||||||||||||
| Component: | EMF-Facet | Assignee: | Nicolas Bros <nicolas.bros> | ||||||||||||||||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||||||||||||||||
| Severity: | enhancement | ||||||||||||||||||||||||||
| Priority: | P2 | CC: | emft.facet-inbox, vincent.lorenzo | ||||||||||||||||||||||||
| Version: | unspecified | Flags: | gdupe:
juno+
|
||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||
| Hardware: | PC | ||||||||||||||||||||||||||
| OS: | Windows XP | ||||||||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||||||||
| Bug Depends on: | 369117, 367335, 367341 | ||||||||||||||||||||||||||
| Bug Blocks: | |||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||
|
Description
Gregoire Dupe
I’ve committed a new version of the INatTableWidget interface. This new interface contains the methods which have to be implemented to satisfy this enhancement. Committed revision 1264. I’ve committed the interfaces which must be used to implement the GUI dialogs needed to select a “canBePresentedInTheTable” query. I’ve also committed a partially implemented unit test to illustrate the use of the dialogs. Committed revision 1267. (In reply to comment #2) > I’ve also committed a partially implemented unit test to illustrate the use of > the dialogs. Cf. org.eclipse.emf.facet.widgets.nattable.tests.internal.CanBePresentedInTheTableDialogTest Created attachment 208630 [details]
patch
Here is a patch that implements the functionality and unit tests, with dialogs designed to be testable with pure JUnit tests.
Created attachment 208632 [details]
resources
Here are the accompanying images.
Created attachment 208665 [details]
modified files
There seems to be a bug that prevents the patch from being applied properly. So, here are the modified files in a zip: you can unzip it at the root of your workspace, replacing the previous files.
Created attachment 208669 [details]
patch v2
Here is an updated patch that adds the possibility to reset the presentability query through a checkbox on the query selection dialog.
Created attachment 208670 [details]
modified files v2
And since I suspect that this patch won't want to apply cleanly either, here are the modified files.
Created attachment 208677 [details]
patch v3
In this patch, I added unit tests to check that undo-redo can be used after changing a presentability query, and I externalized a UI string.
Created attachment 208678 [details]
modified files v3
The corresponding zip of modified files.
Created attachment 208681 [details]
selectPresentabilityQueryButton.png
Here is a cleaned up version of a screenshot of the presentability query button in the toolbar, without the Facet icons that shouldn't be there.
org.eclipse.emf.facet.widgets.nattable.doc/selectPresentabilityQueryButton.png
Created attachment 209837 [details]
patch for Table v2
I have adapted the patch for the Table v2.
Created attachment 209907 [details]
patch v2 for table v2
Here is a new version of the patch. I cleaned up some code, added missing copyrights and externalized strings.
Created attachment 209967 [details]
patch v3 for table v2
Here is a new cleaned up version of the patch.
Committed in revision 1560. This bug can be closed. |