ICEpdf
  1. ICEpdf
  2. PDF-292

Add KeyBinding Util for component examples

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.2.2
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      any

      Description

      The viewer RI relies on the JMenu key accessor to enable keyboard functionality such crt-c for copy text. There many other examples of keyboard accessors that are setup this way. This all works fine and dandy for the viewer RI but it has no effect when a users is just using the viewer component with out the wrapping menu bar and respective key accessors.

      I create a simple test of adding a ctr-c key binding to the viewer component and applet. The problem with most key mappings is that they are common to the parent application. The until class is going to need to be configurable so the end users can select which mapping they want and alternatively change the keyboard maps for a given action.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25274 Thu Aug 18 06:46:27 MDT 2011 patrick.corless PDF-292 code reformatting of stale imports.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/examples/component/ViewerComponentExample.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #25273 Thu Aug 18 06:45:15 MDT 2011 patrick.corless PDF-292 addition of keyboard mapping for copy text to the viewer component example.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/examples/component/ViewerComponentExample.java
        Commit graph ADD /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/ComponentKeyBinding.java

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: