Class SchemeValuesComposite

All Implemented Interfaces:
Drawable

public class SchemeValuesComposite extends Composite
The values of a palette color, one row per reserved scheme: a swatch of what the value resolves to in the Designer's saved theme family, the value itself - a literal, a pointer at another palette color, or nothing - and the three ways to set it. Every change is one undoable SetSchemeValueOperation in the editor's undo context.
Author:
Christopher Mindus
  • Constructor Details

    • SchemeValuesComposite

      public SchemeValuesComposite(Composite parent, PaletteColor color, ModuleModel model, IPropUndoRedo undoRedo)
      Creates the composite.
      Parameters:
      parent - The parent composite.
      color - The palette color.
      model - The module model of the color's project, for the "Points at" dialog.
      undoRedo - The undo/redo interface of the editor.
  • Method Details

    • refresh

      public void refresh()
      Refreshes the rows from the palette color.