org.eclipse.mylar.internal.tasks.ui.wizards
Class TaskDataExportWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.eclipse.mylar.internal.tasks.ui.wizards.TaskDataExportWizard
- All Implemented Interfaces:
- org.eclipse.jface.wizard.IWizard, org.eclipse.ui.IExportWizard, org.eclipse.ui.IWorkbenchWizard
public class TaskDataExportWizard
- extends org.eclipse.jface.wizard.Wizard
- implements org.eclipse.ui.IExportWizard
Wizard for exporting tasklist data files to the file system. This wizard uses
a single page: TaskDataExportWizardPage
- Author:
- Wesley Coelho, Mik Kersten
Fields inherited from class org.eclipse.jface.wizard.Wizard |
DEFAULT_IMAGE |
Method Summary |
void |
addPages()
|
boolean |
canFinish()
|
org.eclipse.jface.dialogs.IDialogSettings |
getSettingsSection(org.eclipse.jface.dialogs.IDialogSettings master)
Finds or creates a dialog settings section that is used to make the
dialog control settings persistent |
static java.lang.String |
getZipFileName()
|
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
|
boolean |
performFinish()
Called when the user clicks finish. |
Methods inherited from class org.eclipse.jface.wizard.Wizard |
addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, 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, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer |
SETTINGS_SECTION
private static final java.lang.String SETTINGS_SECTION
- The name of the dialog store's section associated with the task data
export wizard
- See Also:
- Constant Field Values
ZIP_FILE_PREFIX
public static final java.lang.String ZIP_FILE_PREFIX
- See Also:
- Constant Field Values
ZIP_FILE_EXTENSION
private static final java.lang.String ZIP_FILE_EXTENSION
- See Also:
- Constant Field Values
WINDOW_TITLE
private static final java.lang.String WINDOW_TITLE
- See Also:
- Constant Field Values
exportPage
private TaskDataExportWizardPage exportPage
TaskDataExportWizard
public TaskDataExportWizard()
getZipFileName
public static java.lang.String getZipFileName()
getSettingsSection
public org.eclipse.jface.dialogs.IDialogSettings getSettingsSection(org.eclipse.jface.dialogs.IDialogSettings master)
- Finds or creates a dialog settings section that is used to make the
dialog control settings persistent
addPages
public void addPages()
- Specified by:
addPages
in interface org.eclipse.jface.wizard.IWizard
- Overrides:
addPages
in class org.eclipse.jface.wizard.Wizard
init
public void init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
- Specified by:
init
in interface org.eclipse.ui.IWorkbenchWizard
canFinish
public boolean canFinish()
- Specified by:
canFinish
in interface org.eclipse.jface.wizard.IWizard
- Overrides:
canFinish
in class org.eclipse.jface.wizard.Wizard
performFinish
public boolean performFinish()
- Called when the user clicks finish. Saves the task data. Waits until all
overwrite decisions have been made before starting to save files. If any
overwrite is canceled, no files are saved and the user must adjust the
dialog.
- Specified by:
performFinish
in interface org.eclipse.jface.wizard.IWizard
- Specified by:
performFinish
in class org.eclipse.jface.wizard.Wizard