Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2225

Reusing of ICasEditor instances doesn't surrounding update views

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0SDK
    • CAS Editor
    • None

    Description

      If the amount of editor in the workbench is restricted to a certain number, eclipse will reuse already existing editors and sets a new input.

      In the case an editor input is change all the ICasEditor sensitive views are still bound to the old editor input.

      The AnnotationEditor can be reused by the eclipse workbench, and also view switches can change the way an input CAS is displayed.
      The AnnotationEditor itself can deal with any type of CAS sofa, if it is a text it is displayed and if not an appropriate message page is displayed. The surrounding views don't have a mechanism to deal with changing editor input or changing CAS views.

      Therefore we should extend the page book style annotation editor views with a mechanism to have an additional layer of pages to cover the following cases:

      a) Show view implementation and cas contents (Maybe destroy it and re-create, reusable view
      pages are error prone to implement)
      b) View cannot be displayed because the document is not available (document failed to load)
      c) View cannot be displayed because the CAS view is incompatible with this view

      Attachments

        Issue Links

          Activity

            People

              joern Jörn Kottmann
              joern Jörn Kottmann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: