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

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by de.cau.cs.kieler.core.ui.wizards.ResourceTreeAndListPage
              extended by de.cau.cs.kieler.core.ui.wizards.WorkspaceResourcesPage
                  extended by de.cau.cs.kieler.keg.importer.wizards.ImportGraphWorkspaceSourcesPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage

public class ImportGraphWorkspaceSourcesPage
extends WorkspaceResourcesPage

The import graph wizard page which lets the user select the source files from the workspace and the target folder.

Rating red

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
ImportGraphWorkspaceSourcesPage(IStructuredSelection selection)
          Constructs an ImportGraphWorkspaceSourcesPage.
 
Method Summary
 List<IFile> getFiles(IProgressMonitor monitor)
          Returns a list of selected workspace files.
protected  void initializeControls()
          Called after the controls were created and the settings restored.
 
Methods inherited from class de.cau.cs.kieler.core.ui.wizards.WorkspaceResourcesPage
applyNewTarget, createOptionsGroup, createSourceGroup, createTargetGroup, doBrowseTarget, doValidate, getResourceListFilters, getResources, getResourceTreeFilters, getTargetContainerPath, getWorkspaceSelection, restoreDialogSettings, saveDialogSettings
 
Methods inherited from class de.cau.cs.kieler.core.ui.wizards.ResourceTreeAndListPage
applyNewSource, createButtonBar, createControl, createDefaultSourceGroup, createDefaultTargetGroup, deselectAllListItems, doBrowseSource, getResourceListContentProvider, getResourceListLabelProvider, getResourceListViewerComparator, getResourceTreeContentProvider, getResourceTreeLabelProvider, getResourceTreeViewerComparator, getSelectedElements, getSourceGroupBrowseButton, getSourceGroupCombo, getTargetGroupBrowseButton, getTargetGroupCombo, isAnythingSelected, selectAllListItems, selectAndRevealElement, setResourceTreeInput, validate
 
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
 

Constructor Detail

ImportGraphWorkspaceSourcesPage

public ImportGraphWorkspaceSourcesPage(IStructuredSelection selection)
Constructs an ImportGraphWorkspaceSourcesPage.

Parameters:
selection - the selection the wizard has been called on
Method Detail

initializeControls

protected void initializeControls()
Called after the controls were created and the settings restored. Subclasses may override and can use this method to do any initialization tasks that might be left, like preselecting resources. The default implementation does nothing.

Overrides:
initializeControls in class WorkspaceResourcesPage

getFiles

public List<IFile> getFiles(IProgressMonitor monitor)
Returns a list of selected workspace files.

Parameters:
monitor - the progress monitor
Returns:
the selected files