Class NewColorWizard

All Implemented Interfaces:
IShellProvider, IWizard, INewWizard, IWorkbenchWizard

public class NewColorWizard extends NewWizard
Wizard to create a new palette color: one file under the module's style folder, born with a mid-grey light value so that it resolves from the start.
Author:
Christopher Mindus
  • Field Details

    • WIZARD_ID

      public static final String WIZARD_ID
      The ID.
    • INITIAL_LIGHT

      public static final int INITIAL_LIGHT
      The light value a new color is born with: an opaque mid-grey.
      See Also:
  • Constructor Details

    • NewColorWizard

      public NewColorWizard()
      Creates the palette color wizard.
  • Method Details

    • addPages

      public void addPages()
      Adds the extra required pages.
      Specified by:
      addPages in interface IWizard
      Overrides:
      addPages in class Wizard
    • performFinish

      public boolean performFinish()
      Finishes the dialog.
      Specified by:
      performFinish in interface IWizard
      Overrides:
      performFinish in class NewWizard
      Returns:
      true to indicate the finish request was accepted, and false to indicate that the finish request was refused.