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

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.CLIFReportNewWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

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

Provide a wizard page to inform filename of report or report template.

Author:
Grégory CALONNIER, Jordan BRUNIER

Field Summary
static java.lang.String TYPE_RPTDESIGN
           
static java.lang.String TYPE_RPTTEMPLATE
           
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
CLIFReportNewWizardPage(org.eclipse.jface.viewers.ISelection selection, java.lang.String fileType)
          Constructor for CLIFReportNewWizardPage.
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          Create graphical interface.
 java.lang.String getContainerName()
          Provide the name of container.
 java.lang.String getFileName()
          Provide the filename of the report or report template.
 
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, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
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, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Field Detail

TYPE_RPTDESIGN

public static final java.lang.String TYPE_RPTDESIGN
See Also:
Constant Field Values

TYPE_RPTTEMPLATE

public static final java.lang.String TYPE_RPTTEMPLATE
See Also:
Constant Field Values
Constructor Detail

CLIFReportNewWizardPage

public CLIFReportNewWizardPage(org.eclipse.jface.viewers.ISelection selection,
                               java.lang.String fileType)
Constructor for CLIFReportNewWizardPage.

Parameters:
selection -
fileType - its CLIFReportNewWizardPage.TYPE_RPTDESIGN (=report) or CLIFReportNewWizardPage.TYPE_RPTTEMPLATE (=report template)
Method Detail

createControl

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

Parameters:
parent - the container

getContainerName

public java.lang.String getContainerName()
Provide the name of container.

Returns:
String name of container

getFileName

public java.lang.String getFileName()
Provide the filename of the report or report template.

Returns:
String filename