|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.files.ui.widgets.SystemSelectRemoteFileOrFolderForm
org.eclipse.rse.files.ui.widgets.SaveAsForm
public class SaveAsForm
Field Summary | |
---|---|
protected String |
fileName
|
protected Text |
fileNameText
|
protected String |
initialFileName
|
protected ValidatorFileName |
validator
|
Constructor Summary | |
---|---|
SaveAsForm(ISystemMessageLine msgLine,
Object caller,
boolean fileMode)
Constructor for SaveAsForm |
Method Summary | |
---|---|
Control |
createContents(Shell shell,
Composite parent)
In this method, we populate the given SWT container with widgets and return the container to the caller. |
String |
getFileName()
|
protected ISystemRemoteElementAdapter |
getRemoteAdapter(Object o)
Returns the implementation of ISystemRemoteElement for the given object. |
protected ISystemViewElementAdapter |
getViewAdapter(Object o)
Returns the implementation of ISystemViewElement for the given object. |
boolean |
isPageComplete()
This method can be called by the dialog or wizard page host, to decide whether to enable or disable the next, final or ok buttons. |
void |
selectionChanged(SelectionChangedEvent e)
User selected something in the tree. |
void |
setPreSelection(IRemoteFile selection)
Set a file or folder to preselect. |
boolean |
verify()
Completes processing of the dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Text fileNameText
protected String fileName
protected String initialFileName
protected ValidatorFileName validator
Constructor Detail |
---|
public SaveAsForm(ISystemMessageLine msgLine, Object caller, boolean fileMode)
Method Detail |
---|
public Control createContents(Shell shell, Composite parent)
createContents
in class SystemSelectRemoteFileOrFolderForm
parent
- The parent compositepublic boolean verify()
verify
in class SystemSelectRemoteFileOrFolderForm
public boolean isPageComplete()
SystemSelectRemoteFileOrFolderForm
isPageComplete
in class SystemSelectRemoteFileOrFolderForm
public String getFileName()
public void setPreSelection(IRemoteFile selection)
SystemSelectRemoteFileOrFolderForm
setPreSelection
in class SystemSelectRemoteFileOrFolderForm
protected ISystemViewElementAdapter getViewAdapter(Object o)
protected ISystemRemoteElementAdapter getRemoteAdapter(Object o)
public void selectionChanged(SelectionChangedEvent e)
selectionChanged
in interface ISelectionChangedListener
selectionChanged
in class SystemSelectRemoteFileOrFolderForm
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |