Class NewColorWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
com.iizigo.project.NewWizard
com.iizigo.color.NewColorWizard
- All Implemented Interfaces:
IShellProvider, IWizard, INewWizard, IWorkbenchWizard
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe light value a new color is born with: an opaque mid-grey.static final StringThe ID.Fields inherited from class NewWizard
initSelectedParentFolder, lastViewer, modelFields inherited from class Wizard
DEFAULT_IMAGEConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionvoidaddPages()Adds the extra required pages.booleanFinishes the dialog.Methods inherited from class NewWizard
addPage, createNewFile, createNewFile, createNewFile, createNewFile, getInitSelectedFolderPath, initMethods inherited from class Wizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getMinimumWizardSize, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
Field Details
WIZARD_ID
The ID.INITIAL_LIGHT
public static final int INITIAL_LIGHTThe 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
performFinish
public boolean performFinish()Finishes the dialog.- Specified by:
performFinishin interfaceIWizard- Overrides:
performFinishin classNewWizard- Returns:
- true to indicate the finish request was accepted, and false to indicate that the finish request was refused.