TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.tptp.exportviewergenerator.sample.xml
Class ExportToXML

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.eclipse.hyades.ui.internal.wizard.HyadesWizard
          extended by org.eclipse.hyades.ui.report.ReportGeneratorWizard
              extended by org.eclipse.tptp.exportviewergenerator.sample.xml.ExportToXML
All Implemented Interfaces:
IDisposable, org.eclipse.jface.wizard.IWizard, org.eclipse.jface.wizard.IWizardNode, org.eclipse.ui.IWorkbenchWizard

public class ExportToXML
extends ReportGeneratorWizard


Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
ExportToXML()
           
 
Method Summary
 boolean canFinish()
           
 org.eclipse.core.resources.IFile generate(org.eclipse.core.runtime.IProgressMonitor monitor)
          Generate the report.
 boolean isAvailable(org.eclipse.jface.viewers.ISelection selection)
          Return true if the wizard is available for the workbench selection.
 
Methods inherited from class org.eclipse.hyades.ui.report.ReportGeneratorWizard
addPages, getEditorId, getExtent, getId, getWizard, isContentCreated, performFinish, setId
 
Methods inherited from class org.eclipse.hyades.ui.internal.wizard.HyadesWizard
createPageControls, dispose, getSelection, getWorkbench, init
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.wizard.IWizardNode
dispose
 
Methods inherited from interface org.eclipse.jface.wizard.IWizard
getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
 

Constructor Detail

ExportToXML

public ExportToXML()
Method Detail

isAvailable

public boolean isAvailable(org.eclipse.jface.viewers.ISelection selection)
Description copied from class: ReportGeneratorWizard
Return true if the wizard is available for the workbench selection.

Specified by:
isAvailable in class ReportGeneratorWizard

generate

public org.eclipse.core.resources.IFile generate(org.eclipse.core.runtime.IProgressMonitor monitor)
                                          throws java.lang.Exception
Description copied from class: ReportGeneratorWizard
Generate the report. This method is called in the performFinish() method of the parent ReportWizard wizard.

Specified by:
generate in class ReportGeneratorWizard
Parameters:
monitor - that will display a progress bar during the generation.
Returns:
the generated report file. For example an index file.
Throws:
java.lang.Exception
See Also:
ReportGeneratorWizard.generate(org.eclipse.core.runtime.IProgressMonitor)

canFinish

public boolean canFinish()
Specified by:
canFinish in interface org.eclipse.jface.wizard.IWizard
Overrides:
canFinish in class org.eclipse.jface.wizard.Wizard
See Also:
IWizard.canFinish()

TPTP 4.6.0 Platform Project
Public API Specification