Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9735

Refactor the forge plugins to get rid of the ui console dependencies and make it easier to handle ansi commands

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M4
    • None
    • forge
    • None

      Following things need to be done:

      • create a ForgeTextViewer that inherits from jface TextViewer
      • the ForgeTextViewer initializes a filter chain to filter all the escaped input
      • the ForgeHiddenOutputFilter will filter the hidden input (new escape sequence : 27 + '%'
      • the ForgeAnsiCommandFilter filters the ansi commands that come from the runtime : 27 + '['
      • the ForgeTextViewer will execute the ansi commands and interpret the hidden output
      • the dependencies on the Eclipse Console classes can be eliminated: Console, ConsolePage, ConsoleViewer
      • ForgeInputReadJob is not needed anymore

            kaers@redhat.com Koen Aers
            kaers@redhat.com Koen Aers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: