de.cau.cs.kieler.kex.ui.wizards.importing
Class ImportDestPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.ui.dialogs.WizardDataTransferPage
org.eclipse.ui.dialogs.WizardResourceImportPage
de.cau.cs.kieler.kex.ui.wizards.importing.ImportDestPage
- All Implemented Interfaces:
- IDialogPage, IMessageProvider, IWizardPage, Listener, IOverwriteQuery
public class ImportDestPage
- extends WizardResourceImportPage
This class is one of the to WizardPage
s of the kex import wizard. Users of the wizardpage
set the destination location of the imported example and have some options to change.
- Rating

Methods inherited from class org.eclipse.ui.dialogs.WizardResourceImportPage |
allowNewContainerName, createDestinationGroup, createFileSelectionGroup, getContainerFullPath, getErrorDialogTitle, getSelectedResources, getSelectedResources, getSourceConflictMessage, getSpecifiedContainer, getTypesToImport, handleContainerBrowseButtonPressed, handleEvent, handleTypesEditButtonPressed, initialPopulateContainerField, setAllSelections, setContainerFieldValue, setupSelectionsBasedOnSelectedTypes, sourceConflictsWithDestination, updateSelections, validateDestinationGroup |
Methods inherited from class org.eclipse.ui.dialogs.WizardDataTransferPage |
addToHistory, addToHistory, createBoldLabel, createOptionsGroup, createPlainLabel, createSpacer, displayErrorDialog, displayErrorDialog, getPathFromText, queryForContainer, queryForContainer, queryOverwrite, queryYesNoQuestion, restoreWidgetValues, saveWidgetValues, updatePageCompletion, validateOptionsGroup, validateSourceGroup |
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 |
ImportDestPage
protected ImportDestPage(String name,
IStructuredSelection selection)
- Creates a new
ImportDestPage
, which extends the WizardResourceImportPage
.
- Parameters:
name
- , Stringselection
- , IStructuredSelection
getFolderProvider
protected ITreeContentProvider getFolderProvider()
- Specified by:
getFolderProvider
in class WizardResourceImportPage
getFileProvider
protected ITreeContentProvider getFileProvider()
- Specified by:
getFileProvider
in class WizardResourceImportPage
createSourceGroup
protected void createSourceGroup(Composite parent)
- Specified by:
createSourceGroup
in class WizardResourceImportPage
createOptionsGroupButtons
protected void createOptionsGroupButtons(Group optionsGroup)
- Overrides:
createOptionsGroupButtons
in class WizardDataTransferPage
createControl
public void createControl(Composite parent)
- Creates the import location group with label, textfield and button.
- Specified by:
createControl
in interface IDialogPage
- Overrides:
createControl
in class WizardResourceImportPage
- Parameters:
parent
- , Composite
getResourcePath
public IPath getResourcePath()
- getter for resource path.
- Overrides:
getResourcePath
in class WizardResourceImportPage
- Returns:
IPath
updateWidgetEnablements
protected void updateWidgetEnablements()
- Overrides:
updateWidgetEnablements
in class WizardResourceImportPage
determinePageCompletion
protected boolean determinePageCompletion()
- Overrides:
determinePageCompletion
in class WizardResourceImportPage
openImports
public boolean openImports()
- Checks if the openImports button is selected.
- Returns:
- boolean
autoLayout
public boolean autoLayout()
- Checks if the autoLayout field is selected.
- Returns:
true
if auto layout should be performed after the import.