de.cau.cs.kieler.kex.ui.wizards.exporting
Class ExampleExportPage

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.WizardResourceImportPage
                  extended by de.cau.cs.kieler.kex.ui.wizards.exporting.ExampleExportPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage, Listener, IOverwriteQuery

public class ExampleExportPage
extends WizardResourceImportPage

This class is a wizard page for the export wizard.

Rating red

Field Summary
 
Fields inherited from class org.eclipse.ui.dialogs.WizardResourceImportPage
selectedTypes, selectionGroup
 
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 ExampleExportPage(String name, IStructuredSelection selection)
          contstructor for ExampleExportPage.
 
Method Summary
 void createControl(Composite parent)
           
protected  void createOptionsGroup(Composite parent)
           
protected  void createSourceGroup(Composite parent)
           
 void fillTree(Tree tree)
          Helper method to fill a tree with data.
 Category getCheckedCategory()
          Getter for checked category.
 List<Category> getCreatableCategories()
          Getter for categories that have to be created.
 String getDestLocation()
          Getter for destination location.
protected  ITreeContentProvider getFileProvider()
           
protected  ITreeContentProvider getFolderProvider()
           
 Text getPreviewPic()
          Getter for preview picture.
 SourceType getSourceType()
          Getter for sourctype.
 boolean isPageComplete()
           
 
Methods inherited from class org.eclipse.ui.dialogs.WizardResourceImportPage
allowNewContainerName, createDestinationGroup, createFileSelectionGroup, determinePageCompletion, getContainerFullPath, getErrorDialogTitle, getResourcePath, getSelectedResources, getSelectedResources, getSourceConflictMessage, getSpecifiedContainer, getTypesToImport, handleContainerBrowseButtonPressed, handleEvent, handleTypesEditButtonPressed, initialPopulateContainerField, setAllSelections, setContainerFieldValue, setupSelectionsBasedOnSelectedTypes, sourceConflictsWithDestination, updateSelections, updateWidgetEnablements, validateDestinationGroup
 
Methods inherited from class org.eclipse.ui.dialogs.WizardDataTransferPage
addToHistory, addToHistory, createBoldLabel, createOptionsGroupButtons, 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, 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

ExampleExportPage

protected ExampleExportPage(String name,
                            IStructuredSelection selection)
contstructor for ExampleExportPage.

Parameters:
name - , String
selection - , String
Method Detail

createControl

public void createControl(Composite parent)
Specified by:
createControl in interface IDialogPage
Overrides:
createControl in class WizardResourceImportPage

isPageComplete

public boolean isPageComplete()
Specified by:
isPageComplete in interface IWizardPage
Overrides:
isPageComplete in class WizardPage

createSourceGroup

protected void createSourceGroup(Composite parent)
Specified by:
createSourceGroup in class WizardResourceImportPage

getFileProvider

protected ITreeContentProvider getFileProvider()
Specified by:
getFileProvider in class WizardResourceImportPage

getFolderProvider

protected ITreeContentProvider getFolderProvider()
Specified by:
getFolderProvider in class WizardResourceImportPage

createOptionsGroup

protected void createOptionsGroup(Composite parent)
Overrides:
createOptionsGroup in class WizardDataTransferPage

fillTree

public void fillTree(Tree tree)
Helper method to fill a tree with data.

Parameters:
tree - the tree to fill

getCheckedCategory

public Category getCheckedCategory()
Getter for checked category.

Returns:
Category

getDestLocation

public String getDestLocation()
Getter for destination location.

Returns:
String

getSourceType

public SourceType getSourceType()
Getter for sourctype.

Returns:
SourceType

getCreatableCategories

public List<Category> getCreatableCategories()
Getter for categories that have to be created.

Returns:
List of Strings

getPreviewPic

public Text getPreviewPic()
Getter for preview picture.

Returns:
Text