public class ImportItemWizardPage extends ImportFileWizardPage
Item
s. The primary difference between the
ImportFileWizardPage
is that this class additionally provides a
ListViewer
that displays the available Item
types. This
page also does not allow multiple files to be selected.Constructor and Description |
---|
ImportItemWizardPage(java.lang.String pageName)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
Override the default behavior to add a
ListViewer with the
available item types. |
java.lang.String |
getSelectedFile()
Gets the name of the selected file.
|
java.lang.String |
getSelectedItem()
Gets the type of
Item that was selected from the list of
available Item s. |
getFilterPath, getSelectedFiles
canFlipToNextPage, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
dispose, getControl, getDescription, getErrorMessage, getMessage, getMessageType, getTitle, performHelp, setMessage, setVisible
public ImportItemWizardPage(java.lang.String pageName)
pageName
- The name of the page.public java.lang.String getSelectedFile()
public java.lang.String getSelectedItem()
Item
that was selected from the list of
available Item
s.public void createControl(org.eclipse.swt.widgets.Composite parent)
ListViewer
with the
available item types.createControl
in interface org.eclipse.jface.dialogs.IDialogPage
createControl
in class ImportFileWizardPage