|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.wizard.Wizard
org.eclipse.rse.ui.wizards.AbstractSystemWizard
org.eclipse.rse.files.ui.wizards.SystemNewFileWizard
| Field Summary |
|---|
| Fields inherited from class org.eclipse.rse.ui.wizards.AbstractSystemWizard |
|---|
cancelled, finishPressed, helpId, input, minPageHeight, minPageWidth, output, owningDialog, pageTitle, selection, viewer |
| Fields inherited from class org.eclipse.jface.wizard.Wizard |
|---|
DEFAULT_IMAGE |
| Constructor Summary | |
|---|---|
SystemNewFileWizard()
Constructor |
|
| Method Summary | |
|---|---|
void |
addPages()
Creates the wizard pages. |
protected SystemNewFileWizardMainPage |
createMainPage()
Creates the wizard's main page. |
protected static String |
getNewAbsoluteName(IRemoteFile parentFolder,
String newName)
Create a new absolute name from the parent folder, and the new name |
protected IRemoteFile[] |
getParentFolders()
Deduce the parent remote folder to hold the new folder, by examining the current selection |
static IRemoteFile[] |
getParentFolders(ISystemFilterReference filterRef)
Given a filter reference, return a list of all the unique root folders, one per filter string at most. |
protected ISystemFilterReference |
getSelectedFilterReference()
Get the selected filter, or null if a filter is not selected. |
protected boolean |
isInputAFilter()
Return true if input is a system filter reference, versus a folder |
protected boolean |
meetsFilterCriteria(ISystemFilterReference selectedFilterRef,
IRemoteFile parentFolder,
String newAbsName)
Test if the new file/folder will meet the filtering criteria of the selected filter |
boolean |
performFinish()
Completes processing of the wizard. |
protected static void |
updateGUI(IRemoteFile parentFolder,
IRemoteFile newFileOrFolder,
Viewer viewer,
boolean isInputAFilter,
ISystemFilterReference selectedFilterRef)
Called after all a successful create operation to update the GUI in an intuitive way: The parent folder is refreshed in all views The newly created file or folder is selected in current view |
| Methods inherited from class org.eclipse.jface.wizard.Wizard |
|---|
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, 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 |
|---|
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer |
| Constructor Detail |
public SystemNewFileWizard()
| Method Detail |
public void addPages()
addPages in interface IWizardaddPages in class AbstractSystemWizardprotected SystemNewFileWizardMainPage createMainPage()
public boolean performFinish()
performFinish in interface IWizardperformFinish in class AbstractSystemWizard
protected static String getNewAbsoluteName(IRemoteFile parentFolder,
String newName)
protected boolean meetsFilterCriteria(ISystemFilterReference selectedFilterRef,
IRemoteFile parentFolder,
String newAbsName)
protected static void updateGUI(IRemoteFile parentFolder,
IRemoteFile newFileOrFolder,
Viewer viewer,
boolean isInputAFilter,
ISystemFilterReference selectedFilterRef)
protected boolean isInputAFilter()
protected ISystemFilterReference getSelectedFilterReference()
protected IRemoteFile[] getParentFolders()
throws SystemMessageException
SystemMessageException
public static IRemoteFile[] getParentFolders(ISystemFilterReference filterRef)
throws SystemMessageException
SystemMessageException
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||