|
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.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.rse.ui.wizards.AbstractSystemWizardPage
org.eclipse.rse.files.ui.wizards.SystemNewFolderWizardMainPage
Default main page of the "New Folder" wizard. This page asks for the following information:
| Field Summary | |
|---|---|
String[] |
allnames
|
protected Text |
connectionName
|
protected SystemMessage |
errorMessage
|
protected String |
fileNameStr
|
protected Text |
folderName
|
protected Combo |
folderNames
|
protected ISystemMessageLine |
msgLine
|
protected ISystemValidator |
nameValidator
|
protected Text |
newfolderName
|
protected IRemoteFile[] |
parentFolders
|
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
SystemNewFolderWizardMainPage(Wizard wizard,
IRemoteFile[] parentFolders)
Constructor. |
|
| Method Summary | |
|---|---|
Control |
createContents(Composite parent)
CreateContents is the one method that must be overridden from the parent class. |
String |
getfolderName()
Return user-entered new file name. |
protected Control |
getInitialFocusControl()
Return the Control to be given initial focus. |
IRemoteFile |
getParentFolder()
Return the parent folder selected by the user |
protected void |
initializeInput()
Init values using input data |
boolean |
isPageComplete()
Return true if the page is complete, so to enable Finish. |
boolean |
performFinish()
Completes processing of the wizard. |
protected SystemMessage |
validateNameInput()
This hook method is called whenever the text changes in the input field. |
| Methods inherited from class org.eclipse.rse.ui.wizards.AbstractSystemWizardPage |
|---|
addFillerLine, addGrowableFillerLine, addSeparatorLine, applyMnemonics, clearErrorMessage, clearMessage, createControl, getHelpContextId, getInputObject, getMessageLine, getSystemErrorMessage, setBusyCursor, setErrorMessage, setErrorMessage, setErrorMessage, setFocus, setHelp, setHelp, setInputObject, setMessage, setMessage, setVisible |
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
|---|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, setDescription, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.ui.messages.ISystemMessageLine |
|---|
getErrorMessage, getMessage |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
|---|
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp |
| Field Detail |
protected String fileNameStr
protected Text folderName
protected Text connectionName
protected Text newfolderName
protected Combo folderNames
protected SystemMessage errorMessage
protected ISystemValidator nameValidator
protected IRemoteFile[] parentFolders
protected ISystemMessageLine msgLine
public String[] allnames
| Constructor Detail |
public SystemNewFolderWizardMainPage(Wizard wizard,
IRemoteFile[] parentFolders)
| Method Detail |
public Control createContents(Composite parent)
createContents in class AbstractSystemWizardPageSystemWidgetHelpersprotected Control getInitialFocusControl()
getInitialFocusControl in class AbstractSystemWizardPageprotected void initializeInput()
protected SystemMessage validateNameInput()
ISystemValidator object.
If the ISystemValidator reports an error the error message is displayed
in the Dialog's message line.
public boolean performFinish()
performFinish in interface ISystemWizardPageperformFinish in class AbstractSystemWizardPagepublic String getfolderName()
public IRemoteFile getParentFolder()
public boolean isPageComplete()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||