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

Simplify colourschemeI interface to avoid requiring boilerplate is/newInstance/update mathods

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Scriptable API
    • Labels:
      None

      Description

      See related review comment: examples/groovy/colourSchemes.groovy demonstrates how to create new colourschemes via a script. However, the ColourSchemeI interface has a number of methods not required for a 'simple' colourscheme. Ideally, these should have default implementations. (possibly as Java 9 interface statics ?)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jprocter James Procter
              Reporter:
              jprocter James Procter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: