de.cau.cs.kieler.kiml.grana.ui
Class BatchWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by de.cau.cs.kieler.kiml.grana.ui.BatchWizard
All Implemented Interfaces:
IWizard

public class BatchWizard
extends Wizard

The batch wizard lets the user select any number of diagram files and starts a job which opens the diagrams, applies automatic layout, performs all currently selected graph analyses and saves the results to a file.

Rating red

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
BatchWizard()
          Constructs a BatchWizard without initial file selection.
BatchWizard(IStructuredSelection initialSelection)
          Constructs a BatchWizard with initial file selection.
 
Method Summary
 void addPages()
          
 List<AbstractInfoAnalysis> getAnalyses()
          Returns the selected analyses.
 boolean getLayoutBeforeAnalysis()
          Returns the value of the 'layout before analysis' option.
 IPath getResultFile()
          Returns the selected result file.
 List<IPath> getSelectedFiles()
          Returns the list of selected files.
 boolean performFinish()
          
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, dispose, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchWizard

public BatchWizard()
Constructs a BatchWizard without initial file selection.


BatchWizard

public BatchWizard(IStructuredSelection initialSelection)
Constructs a BatchWizard with initial file selection.

Parameters:
initialSelection - the selection
Method Detail

addPages

public void addPages()

Specified by:
addPages in interface IWizard
Overrides:
addPages in class Wizard

performFinish

public boolean performFinish()

Specified by:
performFinish in interface IWizard
Specified by:
performFinish in class Wizard

getSelectedFiles

public List<IPath> getSelectedFiles()
Returns the list of selected files.

Returns:
the list of selected files

getLayoutBeforeAnalysis

public boolean getLayoutBeforeAnalysis()
Returns the value of the 'layout before analysis' option.

Returns:
true if 'layout before analysis' has been activated

getResultFile

public IPath getResultFile()
Returns the selected result file.

Returns:
the result file

getAnalyses

public List<AbstractInfoAnalysis> getAnalyses()
Returns the selected analyses.

Returns:
the selected analyses