org.ow2.clif.analyze.lib.egui.wizards
Class CLIFReportTemplateChoicePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.ow2.clif.analyze.lib.egui.wizards.CLIFReportTemplateChoicePage
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
public class CLIFReportTemplateChoicePage
- extends org.eclipse.jface.wizard.WizardPage
Supplies template selection page of new report wizard.
- Author:
- Gr�gory CALONNIER, Jordan BRUNIER
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp |
preDefinedTemplates
protected CLIFReportTemplateChoicePage.Template[] preDefinedTemplates
templates
protected java.util.List templates
selectedIndex
protected int selectedIndex
imageMap
protected java.util.Map imageMap
CLIFReportTemplateChoicePage
public CLIFReportTemplateChoicePage(java.lang.String pageName)
- Constructor.
- Parameters:
pageName
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
- Create graphical interface.
- Parameters:
parent
- the container
dispose
public void dispose()
- Specified by:
dispose
in interface org.eclipse.jface.dialogs.IDialogPage
- Overrides:
dispose
in class org.eclipse.jface.dialogs.DialogPage
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisible
in interface org.eclipse.jface.dialogs.IDialogPage
- Overrides:
setVisible
in class org.eclipse.jface.dialogs.DialogPage
isCurrentPage
public boolean isCurrentPage()
- Check if this page is the current dispaly page in the wizard.
- Overrides:
isCurrentPage
in class org.eclipse.jface.wizard.WizardPage
- Returns:
- true if this page is the current dispaly page in the wizard else false
getTemplate
public CLIFReportTemplateChoicePage.Template getTemplate()
- Returns:
- Returns the templates of selected item.
getBlankTemplate
public CLIFReportTemplateChoicePage.Template getBlankTemplate()
- Returns:
- Returns the blank report template.
getShowCheatSheet
public boolean getShowCheatSheet()
- Returns:
- true if show CheatSheets is checked.