Community
Participate
Working Groups
Cells/records cannot be copied/cut and pasted between datapools. Steps to reporduce: 1) Create two datapools with one or more variables and records. 2) Copy a cell from one datapool and paste it in the other datapool. 3) Note the cell is not pasted and the original datapool's dirty bit is set. The same applies for records.
Requires support for pasting records with one or more encrypted between datapools. Requires new tests.
Deferring to TPTP 4.7.0.
No longer required by the consuming product.
In addition, the Delete and Select All actions do not work when two or more datapools are open at the same time.
This was caused by a couple of the problems: 1) The singleton instance of org.eclipse.hyades.test.ui.datapool.internal.control.DatapoolActionHandlerListener was used create the cut/copy/paste/delete/select all actions in the org.eclipse.hyades.test.ui.datapool.internal.control.DatapoolMenuManager. Since the menu is associated with only datapool table, the actions were not configured to use the correct datapool table. 2) The singleton instance of org.eclipse.hyades.test.ui.datapool.internal.control.DatapoolClipboard was used by each org.eclipse.hyades.test.ui.datapool.internal.control.DatapoolTable but the record(s)/cell were datapool table-specific. Since the org.eclipse.hyades.test.ui.datapool.internal.control.DatapoolClipboard has routinely caused issues for datapool cut/copy/paste stemming from a poor implementation, I rewrote the class to be a cleaner/lightweight wrapper around the org.eclipse.swt.dnd.Clipboard class for datapool cell, record, and string data. The new implementations uses org.eclipse.swt.dnd.Clipboard as the persistence mechanism instead of transient instance variables. Refactored several test cases in /org.eclipse.hyades.test.ui.datapool.tests/manual/datapool/Test.UI.DatapoolEditor_editing.testsuite to cover these scenarios.
Created attachment 163655 [details] Patch.
Verified in TPTP-4.7.0RC4-201006081927. Closing.