Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-3048

Refactor all dialogs to chained runnable pattern

    XMLWordPrintable

    Details

      Description

      Blocking dialogs that control subsequent code execution (e.g. file-chooser->load file) need to be refactored for java2script. To avoid breaking java2script functionality, all dialogs should be refactored to adopt the same pattern:

      dialog = new JvDialog(...)
      configure
      dialog.setRunnable({ code that runs to decide what to do with response })

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gmungoc Mungo Carstairs
              Reporter:
              jprocter James Procter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: