diff options
author | Carolyn MacLeod <carolyn> | 2006-05-01 21:07:55 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2006-05-01 21:07:55 +0000 |
commit | 4a8b15adef2f0c6fe4bb1a8285a7194c7499fb25 (patch) | |
tree | a941b4677f54af68180fd601d73a18293158336b | |
parent | f851a1491c86eded57ab0a079e1b0ff7a2a08f60 (diff) | |
download | eclipse.platform.swt-4a8b15adef2f0c6fe4bb1a8285a7194c7499fb25.tar.gz eclipse.platform.swt-4a8b15adef2f0c6fe4bb1a8285a7194c7499fb25.tar.xz eclipse.platform.swt-4a8b15adef2f0c6fe4bb1a8285a7194c7499fb25.zip |
bug 108769
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java | 12 |
1 files changed, 11 insertions, 1 deletions
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 0459e18251..b5a1c8cb26 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 @@ -393,6 +393,9 @@ public void setFileName (String string) { * </p> * * @param extensions the file extension filter + * + * @see #setFilterNames to specify the user-friendly + * names corresponding to the extensions */ public void setFilterExtensions (String [] extensions) { filterExtensions = extensions; @@ -402,8 +405,15 @@ public void setFilterExtensions (String [] extensions) { * Sets the the names that describe the filter extensions * which the dialog will use to filter the files it shows * to the argument, which may be null. + * <p> + * Each name is a user-friendly short description shown for + * its corresponding filter. The <code>names</code> array must + * be the same length as the <code>extensions</code> array. + * </p> * - * @param names the list of filter names + * @param names the list of filter names, or null for no filter names + * + * @see #setFilterExtensions */ public void setFilterNames (String [] names) { filterNames = names; |