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

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.ui.dialogs.WizardDataTransferPage
              extended by org.eclipse.ui.dialogs.WizardExportResourcesPage
                  extended by de.cau.cs.kieler.kiml.grana.ui.BatchFileSelectionPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage, Listener, IOverwriteQuery

public class BatchFileSelectionPage
extends WizardExportResourcesPage

This page displays the workspace contents and lets the user select diagram files.

Rating red

Field Summary
 
Fields inherited from class org.eclipse.ui.dialogs.WizardDataTransferPage
COMBO_HISTORY_LENGTH, SIZING_TEXT_FIELD_WIDTH
 
Fields inherited from interface org.eclipse.ui.dialogs.IOverwriteQuery
ALL, CANCEL, NO, NO_ALL, YES
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
protected BatchFileSelectionPage(IStructuredSelection selection)
          Constructs a BatchFileSelectionPage with initial selection.
 
Method Summary
 boolean canFlipToNextPage()
          
 void createControl(Composite parent)
          
protected  void createDestinationGroup(Composite parent)
          
protected  void createOptionsGroupButtons(Group parent)
          
 boolean getLayoutBeforeAnalysis()
          Returns the value of the 'layout before analysis' option.
 List<IPath> getSelectedFiles()
          Returns the list of selected files.
 void handleEvent(Event event)
          
 boolean isPageComplete()
          
protected  void loadPreferences()
          Loads the preferences for this page.
protected  void savePreferences()
          Saves the preferences for this page.
 
Methods inherited from class org.eclipse.ui.dialogs.WizardExportResourcesPage
allowNewContainerName, createButton, createButtonsGroup, createResourcesGroup, ensureResourcesLocal, extractNonLocalResources, getErrorDialogTitle, getSelectedResources, getSelectedResourcesIterator, getTypesToExport, getWhiteCheckedResources, handleTypesEditButtonPressed, hasExportableExtension, internalSaveWidgetValues, queryResourceTypesToExport, restoreResourceSpecificationWidgetValues, saveDirtyEditors, saveWidgetValues, setupBasedOnInitialSelections, updateWidgetEnablements
 
Methods inherited from class org.eclipse.ui.dialogs.WizardDataTransferPage
addToHistory, addToHistory, createBoldLabel, createOptionsGroup, createPlainLabel, createSpacer, determinePageCompletion, displayErrorDialog, displayErrorDialog, getPathFromText, queryForContainer, queryForContainer, queryOverwrite, queryYesNoQuestion, restoreWidgetValues, updatePageCompletion, validateDestinationGroup, validateOptionsGroup, validateSourceGroup
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, 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

BatchFileSelectionPage

protected BatchFileSelectionPage(IStructuredSelection selection)
Constructs a BatchFileSelectionPage with initial selection.

Parameters:
selection - the selection
Method Detail

handleEvent

public void handleEvent(Event event)


createDestinationGroup

protected void createDestinationGroup(Composite parent)

Specified by:
createDestinationGroup in class WizardExportResourcesPage

createOptionsGroupButtons

protected void createOptionsGroupButtons(Group parent)

Overrides:
createOptionsGroupButtons in class WizardDataTransferPage

canFlipToNextPage

public boolean canFlipToNextPage()

Specified by:
canFlipToNextPage in interface IWizardPage
Overrides:
canFlipToNextPage in class WizardPage

isPageComplete

public boolean isPageComplete()

Specified by:
isPageComplete in interface IWizardPage
Overrides:
isPageComplete in class WizardPage

createControl

public void createControl(Composite parent)

Specified by:
createControl in interface IDialogPage
Overrides:
createControl in class WizardExportResourcesPage

loadPreferences

protected void loadPreferences()
Loads the preferences for this page.


savePreferences

protected void savePreferences()
Saves the preferences for this page.


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