Login  Register

Global shortcuts don't work in non-standard Resultsable

Posted by Wolfgang Gross on Feb 02, 2011; 3:06pm
URL: http://imagej.273.s1.nabble.com/Global-shortcuts-don-t-work-in-non-standard-Resultsable-tp3685847.html

Hi all,

a standard results table (TextWindow title "Results") honors global shortcuts but this is not true for results tables using a different title.
After digging into the code I found out that for standard tables this is accomplished by the line
  textPanel.addKeyListener(ij)
in  ImageJ.showResults.
I was thinking about a plugin realising some special copy mechanism invoked by a global shortcut. This would not work for non-standard results tables.
My question: Is there a reason for the shortcut restriction?
Workaround: Extend resultstable overriding the show method and add the keylistener.

Any other suggestions?

TIA
Wolfgang Gross