org.eclipse.mylar.internal.tasks.ui.wizards
Class NewAttachmentPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.mylar.internal.tasks.ui.wizards.NewAttachmentPage
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
public class NewAttachmentPage
- extends org.eclipse.jface.wizard.WizardPage
A wizard page to enter details of a new attachment.
- Author:
- Jeff Pound
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
getContainer, getDialogSettings, getImage, getName, 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 |
attachment
private LocalAttachment attachment
filePath
private org.eclipse.swt.widgets.Text filePath
attachmentDesc
private org.eclipse.swt.widgets.Text attachmentDesc
attachmentComment
private org.eclipse.swt.widgets.Text attachmentComment
isPatchButton
private org.eclipse.swt.widgets.Button isPatchButton
attachContextButton
private org.eclipse.swt.widgets.Button attachContextButton
contentTypes
private static java.util.List<java.lang.String> contentTypes
extensions2Types
private static java.util.Map<java.lang.String,java.lang.String> extensions2Types
NewAttachmentPage
protected NewAttachmentPage(LocalAttachment att)
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
isPageComplete
public boolean isPageComplete()
- Specified by:
isPageComplete
in interface org.eclipse.jface.wizard.IWizardPage
- Overrides:
isPageComplete
in class org.eclipse.jface.wizard.WizardPage
populateAttachment
public void populateAttachment()
getAttachment
public LocalAttachment getAttachment()
canFlipToNextPage
public boolean canFlipToNextPage()
- Specified by:
canFlipToNextPage
in interface org.eclipse.jface.wizard.IWizardPage
- Overrides:
canFlipToNextPage
in class org.eclipse.jface.wizard.WizardPage
setFilePath
public void setFilePath(java.lang.String path)
getNextPage
public org.eclipse.jface.wizard.IWizardPage getNextPage()
- Specified by:
getNextPage
in interface org.eclipse.jface.wizard.IWizardPage
- Overrides:
getNextPage
in class org.eclipse.jface.wizard.WizardPage
getAttachContext
public boolean getAttachContext()