diff options
author | Carolyn MacLeod <carolyn> | 2005-06-22 20:01:02 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2005-06-22 20:01:02 +0000 |
commit | 8490be36e64da70a570c4a9a2b202d3daf704eae (patch) | |
tree | c509fff4bc97dcefbfb34302b22eb3dad0becc6a | |
parent | c80b6bbb7632776bb73138b7bb43edbba7510d67 (diff) | |
download | eclipse.platform.swt-8490be36e64da70a570c4a9a2b202d3daf704eae.tar.gz eclipse.platform.swt-8490be36e64da70a570c4a9a2b202d3daf704eae.tar.xz eclipse.platform.swt-8490be36e64da70a570c4a9a2b202d3daf704eae.zip |
doc: bug 84911
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/DirectoryDialog.java | 14 | ||||
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java | 2 |
2 files changed, 12 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/DirectoryDialog.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/DirectoryDialog.java index 4f63b55c1d..6ac296bceb 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/DirectoryDialog.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/DirectoryDialog.java @@ -112,6 +112,8 @@ int BrowseCallbackProc (int hwnd, int uMsg, int lParam, int lpData) { * the directories it shows. * * @return the filter path + * + * @see #setFilterPath */ public String getFilterPath () { return filterPath; @@ -268,9 +270,15 @@ public String open () { } /** - * Sets the path which the dialog will use to filter - * the directories it shows to the argument, which may be - * null. + * Sets the path that the dialog will use to filter + * the directories it shows to the argument, which may + * be null. If the string is null, then the operating + * system's default filter path will be used. + * <p> + * Note that the path string is platform dependent. + * For convenience, either '/' or '\' can be used + * as a path separator. + * </p> * * @param string the filter path */ diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java index 5cd438d813..1a10099e08 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java @@ -373,7 +373,7 @@ public void setFileName (String string) { * use to filter the files it shows to the argument, * which may be null. * <p> - * Each string must follow the file filtering conventions + * Each string should follow the file filtering conventions * for the platform. For example, on Windows, an extension * filter string is typically of the form "*.extension", * where "*.*" matches all files. |