org.ow2.clif.analyze.lib.egui.wizards
Class CLIFReportSettingPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.ow2.clif.analyze.lib.egui.wizards.CLIFReportSettingPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class CLIFReportSettingPage
extends org.eclipse.jface.wizard.WizardPage

Provide a wizard page to inform informations of report template (Display name, Description and Image).

Author:
Grégory CALONNIER, Jordan BRUNIER

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
CLIFReportSettingPage()
          Constructor for CLIFReportSettingPage.
 
Method Summary
 boolean canFinish()
          Check if the current page can finish.
 void checkStatus()
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
          Create graphical interface.
 java.lang.String getDescription()
          Get report template description.
 java.lang.String getDisplayName()
          Get report template display name.
 java.lang.String getPreviewImagePath()
          Get report template image path.
 void setVisible(boolean visible)
           
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, 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
dispose, getControl, getErrorMessage, getMessage, getTitle, performHelp
 

Constructor Detail

CLIFReportSettingPage

public CLIFReportSettingPage()
Constructor for CLIFReportSettingPage.

Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Create graphical interface.

Parameters:
parent - the container

getDescription

public java.lang.String getDescription()
Get report template description.

Specified by:
getDescription in interface org.eclipse.jface.dialogs.IDialogPage
Overrides:
getDescription in class org.eclipse.jface.dialogs.DialogPage
Returns:
String report template description

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

canFinish

public boolean canFinish()
Check if the current page can finish.

Returns:
true if the current page can finish or false if the current page can't finish.

getDisplayName

public java.lang.String getDisplayName()
Get report template display name.

Returns:
String report template display name

getPreviewImagePath

public java.lang.String getPreviewImagePath()
Get report template image path.

Returns:
String report template image path

checkStatus

public void checkStatus()