|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectWizard
com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizard
com.ibm.etools.systems.files.importexport.files.RemoteImportWizard
Standard workbench wizard for importing resources from the local file system into the workspace.
This class may be instantiated and used without further configuration; this class is not intended to be subclassed.
Example:
IWizard wizard = new RemoteImportWizard(); wizard.init(workbench, selection); WizardDialog dialog = new WizardDialog(shell, wizard); dialog.open();During the call to
open
, the wizard dialog is presented to the
user. When the user hits Finish, the user-selected files are imported
into the workspace, the dialog closes, and the call to open
returns.
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from class com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizard |
---|
cancelled, copyright, finishPressed, helpId, input, minPageHeight, minPageWidth, output, owningDialog, pageTitle, viewer |
Constructor Summary | |
---|---|
RemoteImportWizard()
Creates a wizard for importing resources into the workspace from the file system. |
Method Summary | |
---|---|
void |
addPages()
Creates the wizard pages. |
RemoteFileImportData |
getImportData()
|
boolean |
getInitializeFromImportData()
|
void |
init(IWorkbench workbench,
IStructuredSelection currentSelection)
Required by INewWizard interface. |
boolean |
performFinish()
Called when finish pressed. |
protected void |
setInitializeFromImportData(boolean init)
|
Methods inherited from class com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizard |
---|
addPage, getCurrentTreeView, getHelpContextId, getInputObject, getMinimumPageHeight, getMinimumPageWidth, getOutputObject, getSystemWizardDialog, getViewer, getWizardPageTitle, performCancel, publicConvertHeightInCharsToPixels, publicConvertWidthInCharsToPixels, setBusyCursor, setHelp, setInputObject, setMinimumPageSize, setOutputObject, setPageError, setSystemWizardDialog, setViewer, setWasCancelled, setWizardImage, setWizardPageTitle, setWizardTitle, updateSize, wasCancelled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
Constructor Detail |
public RemoteImportWizard()
Method Detail |
public void addPages()
AbstractSystemWizard
addPages
in class AbstractSystemWizard
public void init(IWorkbench workbench, IStructuredSelection currentSelection)
AbstractSystemWizard
init
in class AbstractSystemWizard
protected void setInitializeFromImportData(boolean init)
public boolean getInitializeFromImportData()
public RemoteFileImportData getImportData()
public boolean performFinish()
AbstractSystemWizard
Return true if no errors, false to cancel the finish operation.
Typically, you walk through each wizard page calling performFinish on it, and only return true if they all return true. If one of the pages returns false, you should call setPageError(IWizardPage), which shows a message to the user about an error pending on another page, if the given page is not the current page.
performFinish
in class AbstractSystemWizard
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |