[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/27604] JFileChooser does not handle well special paths
From: |
cvs-commit at developer dot classpath dot org |
Subject: |
[Bug swing/27604] JFileChooser does not handle well special paths |
Date: |
4 Aug 2006 00:45:18 -0000 |
------- Comment #4 from cvs-commit at developer dot classpath dot org
2006-08-04 00:45 -------
Subject: Bug 27604
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch: classpath-0_92-branch
Changes by: Mark Wielaard <mark> 06/08/04 00:43:31
Modified files:
. : ChangeLog
javax/swing : JComboBox.java
javax/swing/filechooser: FileSystemView.java
UnixFileSystemView.java
javax/swing/plaf/basic: BasicDirectoryModel.java
BasicFileChooserUI.java BasicListUI.java
javax/swing/plaf/metal: MetalFileChooserUI.java
Log message:
2006-08-03 Roman Kennke <address@hidden>
PR 27606
* javax/swing/plaf/basic/BasicListUI.java
(paintCell): Pass row index to cell renderer.
* javax/swing/plaf/basic/MetalFileChooserUI.java
(DirectoryComboBoxRenderer.indentIcon): New field.
(DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
Initialize indentIcon.
(DirectoryComboBoxRenderer.getListCellRendererComponent):
Fall back to super and removed standard functionality.
Handle indentation.
(IndentIcon): New class. Wraps and indents another icon.
2006-08-03 Roman Kennke <address@hidden>
PR 27605
* javax/swing/JComboBox.java
(setSelectedItem): Fire ActionEvent here.
* javax/swing/plaf/basic/BasicDirectoryModel.java
(directories): Changed to type Vector.
(files): New field.
(loadThread): New field.
(DirectoryLoadThread): New inner class. This loads the contents
of directories asynchronously.
(getDirectories): Return cached Vector.
(getFiles): Return cached Vector.
(getSize): Return plain size of contents Vector.
(propertyChange): Reread directory also for DIRECTORY_CHANGED,
FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
(sort): Don't store sorted list in contents. This must be done
asynchronously from the EventThread.
(validateFileCache): Rewritten for asynchronous reading
of directory contents.
* javax/swing/plaf/basic/BasicFileChooserUI.java
(installListeners): Install model as PropertyChangeListener.
(uninstallListeners): Uninstall model as
PropertyChangeListener.
(createPropertyChangeListener): Return null just like the
RI.
2006-08-03 Roman Kennke <address@hidden>
PR 27604
* javax/swing/plaf/basic/BasicChooserUI.java
(BasicFileView.getName): Fetch the real name from the
file chooser's FileSystemView.
* javax/swing/plaf/metal/MetalChooserUI.java
(DirectoryComboBoxRenderer.getListCellRendererComponent):
Set the text fetched from the JFileChooser.getName().
* javax/swing/FileSystemView.java
(createFileObject): When file is a filesystem root,
create a filesystem root object first.
(getSystemDisplayName): Return the filename. Added specnote
about ShellFolder class that is mentioned in the spec.
* javax/swing/UnixFileSystemView.java
(getSystemDisplayName): Implemented to return the real name
of a file, special handling files like '.' or '..'.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&only_with_tag=classpath-0_92-branch&r1=1.8251.2.16&r2=1.8251.2.17
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JComboBox.java?cvsroot=classpath&only_with_tag=classpath-0_92-branch&r1=1.33&r2=1.33.2.1
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/filechooser/FileSystemView.java?cvsroot=classpath&only_with_tag=classpath-0_92-branch&r1=1.10&r2=1.10.10.1
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/filechooser/UnixFileSystemView.java?cvsroot=classpath&only_with_tag=classpath-0_92-branch&r1=1.4&r2=1.4.4.1
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicDirectoryModel.java?cvsroot=classpath&only_with_tag=classpath-0_92-branch&r1=1.4&r2=1.4.2.1
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicFileChooserUI.java?cvsroot=classpath&only_with_tag=classpath-0_92-branch&r1=1.27&r2=1.27.2.1
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicListUI.java?cvsroot=classpath&only_with_tag=classpath-0_92-branch&r1=1.59&r2=1.59.2.1
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/metal/MetalFileChooserUI.java?cvsroot=classpath&only_with_tag=classpath-0_92-branch&r1=1.24&r2=1.24.2.1
------- Comment #5 from cvs-commit at developer dot classpath dot org
2006-08-04 00:45 -------
Subject: Bug 27604
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch: generics-branch
Changes by: Mark Wielaard <mark> 06/08/04 00:43:45
Modified files:
. : ChangeLog
javax/swing : JComboBox.java
javax/swing/filechooser: FileSystemView.java
UnixFileSystemView.java
javax/swing/plaf/basic: BasicDirectoryModel.java
BasicFileChooserUI.java BasicListUI.java
javax/swing/plaf/metal: MetalFileChooserUI.java
Log message:
2006-08-03 Roman Kennke <address@hidden>
PR 27606
* javax/swing/plaf/basic/BasicListUI.java
(paintCell): Pass row index to cell renderer.
* javax/swing/plaf/basic/MetalFileChooserUI.java
(DirectoryComboBoxRenderer.indentIcon): New field.
(DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
Initialize indentIcon.
(DirectoryComboBoxRenderer.getListCellRendererComponent):
Fall back to super and removed standard functionality.
Handle indentation.
(IndentIcon): New class. Wraps and indents another icon.
2006-08-03 Roman Kennke <address@hidden>
PR 27605
* javax/swing/JComboBox.java
(setSelectedItem): Fire ActionEvent here.
* javax/swing/plaf/basic/BasicDirectoryModel.java
(directories): Changed to type Vector.
(files): New field.
(loadThread): New field.
(DirectoryLoadThread): New inner class. This loads the contents
of directories asynchronously.
(getDirectories): Return cached Vector.
(getFiles): Return cached Vector.
(getSize): Return plain size of contents Vector.
(propertyChange): Reread directory also for DIRECTORY_CHANGED,
FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
(sort): Don't store sorted list in contents. This must be done
asynchronously from the EventThread.
(validateFileCache): Rewritten for asynchronous reading
of directory contents.
* javax/swing/plaf/basic/BasicFileChooserUI.java
(installListeners): Install model as PropertyChangeListener.
(uninstallListeners): Uninstall model as
PropertyChangeListener.
(createPropertyChangeListener): Return null just like the
RI.
2006-08-03 Roman Kennke <address@hidden>
PR 27604
* javax/swing/plaf/basic/BasicChooserUI.java
(BasicFileView.getName): Fetch the real name from the
file chooser's FileSystemView.
* javax/swing/plaf/metal/MetalChooserUI.java
(DirectoryComboBoxRenderer.getListCellRendererComponent):
Set the text fetched from the JFileChooser.getName().
* javax/swing/FileSystemView.java
(createFileObject): When file is a filesystem root,
create a filesystem root object first.
(getSystemDisplayName): Return the filename. Added specnote
about ShellFolder class that is mentioned in the spec.
* javax/swing/UnixFileSystemView.java
(getSystemDisplayName): Implemented to return the real name
of a file, special handling files like '.' or '..'.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&only_with_tag=generics-branch&r1=1.2386.2.307&r2=1.2386.2.308
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/JComboBox.java?cvsroot=classpath&only_with_tag=generics-branch&r1=1.8.2.16&r2=1.8.2.17
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/filechooser/FileSystemView.java?cvsroot=classpath&only_with_tag=generics-branch&r1=1.3.2.5&r2=1.3.2.6
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/filechooser/UnixFileSystemView.java?cvsroot=classpath&only_with_tag=generics-branch&r1=1.1.2.4&r2=1.1.2.5
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicDirectoryModel.java?cvsroot=classpath&only_with_tag=generics-branch&r1=1.1.2.5&r2=1.1.2.6
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicFileChooserUI.java?cvsroot=classpath&only_with_tag=generics-branch&r1=1.2.2.13&r2=1.2.2.14
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicListUI.java?cvsroot=classpath&only_with_tag=generics-branch&r1=1.9.2.15&r2=1.9.2.16
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/metal/MetalFileChooserUI.java?cvsroot=classpath&only_with_tag=generics-branch&r1=1.3.2.8&r2=1.3.2.9
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27604