summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarolyn MacLeod <carolyn>2005-06-22 20:01:02 +0000
committerCarolyn MacLeod <carolyn>2005-06-22 20:01:02 +0000
commit8490be36e64da70a570c4a9a2b202d3daf704eae (patch)
treec509fff4bc97dcefbfb34302b22eb3dad0becc6a
parentc80b6bbb7632776bb73138b7bb43edbba7510d67 (diff)
downloadeclipse.platform.swt-8490be36e64da70a570c4a9a2b202d3daf704eae.tar.gz
eclipse.platform.swt-8490be36e64da70a570c4a9a2b202d3daf704eae.tar.xz
eclipse.platform.swt-8490be36e64da70a570c4a9a2b202d3daf704eae.zip
doc: bug 84911
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/DirectoryDialog.java14
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java2
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.