org.eclipse.mylar.internal.tasks.ui.wizards
Class NewAttachmentWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.eclipse.mylar.internal.tasks.ui.wizards.NewAttachmentWizard
- All Implemented Interfaces:
- org.eclipse.jface.wizard.IWizard
public class NewAttachmentWizard
- extends org.eclipse.jface.wizard.Wizard
A wizard to add a new attachment to a task report.
- Author:
- Jeff Pound
Fields inherited from class org.eclipse.jface.wizard.Wizard |
DEFAULT_IMAGE |
Methods inherited from class org.eclipse.jface.wizard.Wizard |
addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, 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 |
DIALOG_SETTINGS_KEY
private static final java.lang.String DIALOG_SETTINGS_KEY
- See Also:
- Constant Field Values
attachment
private LocalAttachment attachment
inputPage
private InputAttachmentSourcePage inputPage
attachPage
private NewAttachmentPage attachPage
dialog
private NewAttachmentWizardDialog dialog
hasNewDialogSettings
private boolean hasNewDialogSettings
repository
private TaskRepository repository
task
private AbstractRepositoryTask task
NewAttachmentWizard
public NewAttachmentWizard(TaskRepository repository,
AbstractRepositoryTask task)
NewAttachmentWizard
public NewAttachmentWizard(TaskRepository repository,
AbstractRepositoryTask task,
java.io.File attachFile)
NewAttachmentWizard
public NewAttachmentWizard(TaskRepository repository,
AbstractRepositoryTask task,
java.lang.String attachContents)
performFinish
public boolean performFinish()
- Specified by:
performFinish
in interface org.eclipse.jface.wizard.IWizard
- Specified by:
performFinish
in class org.eclipse.jface.wizard.Wizard
hasContext
protected boolean hasContext()
canFinish
public boolean canFinish()
- Specified by:
canFinish
in interface org.eclipse.jface.wizard.IWizard
- Overrides:
canFinish
in class org.eclipse.jface.wizard.Wizard
addPages
public void addPages()
- Specified by:
addPages
in interface org.eclipse.jface.wizard.IWizard
- Overrides:
addPages
in class org.eclipse.jface.wizard.Wizard
getAttachment
public LocalAttachment getAttachment()
getFilePath
protected java.lang.String getFilePath()
getNextPage
public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage page)
- Specified by:
getNextPage
in interface org.eclipse.jface.wizard.IWizard
- Overrides:
getNextPage
in class org.eclipse.jface.wizard.Wizard
showPage
public void showPage(org.eclipse.jface.wizard.IWizardPage page)
setDialog
public void setDialog(NewAttachmentWizardDialog dialog)
getClipboardContents
public java.lang.String getClipboardContents()
needsPreviousAndNextButtons
public boolean needsPreviousAndNextButtons()
- Specified by:
needsPreviousAndNextButtons
in interface org.eclipse.jface.wizard.IWizard
- Overrides:
needsPreviousAndNextButtons
in class org.eclipse.jface.wizard.Wizard