org.argouml.uml.ui
Class ProjectFileView
java.lang.Object
javax.swing.filechooser.FileView
org.argouml.uml.ui.ProjectFileView
- public final class ProjectFileView
- extends FileView
Provides an icon for project files.
- Since:
- Jun 2, 2006
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ProjectFileView getInstance()
- Returns the singleton instance.
- Returns:
- ProjectFileView
getIcon
public Icon getIcon(File f)
- Load an icon for a supported project file.
- Parameters:
f - the file to check
- Returns:
- a nice icon if the file is known as a project file,
otherwise a default one