de.cau.cs.kieler.keg.importer.wizards
Class ImportGraphWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by de.cau.cs.kieler.keg.importer.wizards.ImportGraphWizard
All Implemented Interfaces:
IWizard, IImportWizard, IWorkbenchWizard

public class ImportGraphWizard
extends Wizard
implements IImportWizard

A wizard for importing graphs from various file formats into the KEG format.

Rating red

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
ImportGraphWizard()
          Constructs a graph import wizard.
 
Method Summary
 void addPages()
          
 boolean canFinish()
          
 String getCommonSelectedExtension()
          Returns the most common extension among all selected files.
 IWizardPage getNextPage(IWizardPage page)
          
 IWizardPage getStartingPage()
          
 void init(IWorkbench workbench, IStructuredSelection theselection)
          
 boolean performFinish()
          
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getPreviousPage, getShell, 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
 
Methods inherited from interface org.eclipse.jface.wizard.IWizard
createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getPreviousPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
 

Constructor Detail

ImportGraphWizard

public ImportGraphWizard()
Constructs a graph import wizard.

Method Detail

addPages

public void addPages()

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

getStartingPage

public IWizardPage getStartingPage()

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

getNextPage

public IWizardPage getNextPage(IWizardPage page)

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

canFinish

public boolean canFinish()

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

performFinish

public boolean performFinish()

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

init

public void init(IWorkbench workbench,
                 IStructuredSelection theselection)

Specified by:
init in interface IWorkbenchWizard

getCommonSelectedExtension

public String getCommonSelectedExtension()
Returns the most common extension among all selected files.

Returns:
the extension