The Meta-Environment API

nl.cwi.sen1.gui.plugin
Class DialogFileSystemView

java.lang.Object
  extended by javax.swing.filechooser.FileSystemView
      extended by nl.cwi.sen1.gui.plugin.DialogFileSystemView

public class DialogFileSystemView
extends javax.swing.filechooser.FileSystemView


Field Summary
(package private)  java.lang.String[] labels
           
(package private)  java.io.File[] roots
           
 
Constructor Summary
DialogFileSystemView(nl.cwi.sen1.configapi.types.PropertyList props)
           
 
Method Summary
 java.io.File createNewFolder(java.io.File containingDir)
           
 java.io.File getDefaultDirectory()
           
 java.io.File getHomeDirectory()
           
 java.lang.String getRootLabel(java.io.File root)
           
 java.io.File[] getRoots()
           
 
Methods inherited from class javax.swing.filechooser.FileSystemView
createFileObject, createFileObject, createFileSystemRoot, getChild, getFiles, getFileSystemView, getParentDirectory, getSystemDisplayName, getSystemIcon, getSystemTypeDescription, isComputerNode, isDrive, isFileSystem, isFileSystemRoot, isFloppyDrive, isHiddenFile, isParent, isRoot, isTraversable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

roots

java.io.File[] roots

labels

java.lang.String[] labels
Constructor Detail

DialogFileSystemView

public DialogFileSystemView(nl.cwi.sen1.configapi.types.PropertyList props)
Method Detail

createNewFolder

public java.io.File createNewFolder(java.io.File containingDir)
Specified by:
createNewFolder in class javax.swing.filechooser.FileSystemView

getRoots

public java.io.File[] getRoots()
Overrides:
getRoots in class javax.swing.filechooser.FileSystemView

getRootLabel

public java.lang.String getRootLabel(java.io.File root)

getHomeDirectory

public java.io.File getHomeDirectory()
Overrides:
getHomeDirectory in class javax.swing.filechooser.FileSystemView

getDefaultDirectory

public java.io.File getDefaultDirectory()
Overrides:
getDefaultDirectory in class javax.swing.filechooser.FileSystemView

The Meta-Environment API