Menu

#136 Add copy functionality to the table viewer

v1.1.x
closed
None
v1.1.0
Change Request
2017-02-14
2017-01-31
Erik Hänel
No

The table viewer currently doesn't support copying its contents. Add this functionality.

Analysis:
The intuitive keyboard shortcut CTRL-C is probably intercepted by the menu item. This has to be changed to: check, if the current editor has focus and proceed, otherwise skip the event. Then this can be included as an OnKeyDown event for the table viewer, which connects to the clipboard.

Implementation:
The check was implemented as proposed by the analysis. However, it seems that it's useless. The functionality is now connected with Ctrl-Shift-C as in it's already used in the console. The Ctrl-C issue is to be investigated.

Documentation:
To be defined. Depends, if it's possible to Ctrl-C as shortcut.

Tests:
The functionality works and a minor deviation was solved. However, this component was merged with the table editor. Further deviations will be tracked in a new ticket.

Discussion

  • Erik Hänel

    Erik Hänel - 2017-01-31
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2017-01-31
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,9 @@
     The table viewer currently doesn't support copying its contents. Add this functionality.
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2017-01-31
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,7 @@
     The table viewer currently doesn't support copying its contents. Add this functionality.
    
     **Analysis:**
    +The intuitive keyboard shortcut CTRL-C is probably intercepted by the menu item. This has to be changed to: check, if the current editor has focus and proceed, otherwise skip the event. Then this can be included as an OnKeyDown event for the table viewer, which connects to the clipboard.
    
     **Implementation:**
    
     
  • Erik Hänel

    Erik Hänel - 2017-01-31
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2017-02-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,7 +4,9 @@
     The intuitive keyboard shortcut CTRL-C is probably intercepted by the menu item. This has to be changed to: check, if the current editor has focus and proceed, otherwise skip the event. Then this can be included as an OnKeyDown event for the table viewer, which connects to the clipboard.
    
     **Implementation:**
    +The check was implemented as proposed by the analysis. However, it seems that it's useless. The functionality is now connected with Ctrl-Shift-C as in it's already used in the console. The Ctrl-C issue is to be investigated.
    
     **Documentation:**
    +To be defined. Depends, if it's possible to Ctrl-C as shortcut.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2017-02-14
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -10,3 +10,4 @@
     To be defined. Depends, if it's possible to Ctrl-C as shortcut.
    
     **Tests:**
    +The functionality works and a minor deviation was solved. However, this component was merged with the table editor. Further deviations will be tracked in a new ticket.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel