file
Class WorkSpace

java.lang.Object
  extended by file.WorkSpace

public class WorkSpace
extends java.lang.Object

FIXME - add comment. FIXME - Create a list of file actions rather than a menu. FIXME - Support multiple fileables. FIXME - Implement MultipleChoice interface. FIXME - Support tracking modified status. FIXME - Support tracking file modification and last read times. Use this to check for external modifications of files. FIXME - Add "Save All" action. FIXME - Add file type management. Need to think this through. Perhaps we need two classes: WorkSpaceItem and WorkSpace?


Constructor Summary
WorkSpace()
           
 
Method Summary
 javax.swing.JMenu getFileMenu()
          ws.getFileMenu() returns a file menu for ws with "New", "Open...", "Save", and "Save As..." menu items.
 void setFileable(Storable flbl)
          ws.setFileable(flbl) sets the fileable of ws to flbl.
 void setFilter(javax.swing.filechooser.FileFilter fltr)
          ws.setFilter(fltr) sets the file filter of ws to fltr.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkSpace

public WorkSpace()
Method Detail

getFileMenu

public javax.swing.JMenu getFileMenu()
ws.getFileMenu() returns a file menu for ws with "New", "Open...", "Save", and "Save As..." menu items.

Returns:

setFileable

public void setFileable(Storable flbl)
ws.setFileable(flbl) sets the fileable of ws to flbl.

Parameters:
flbl -

setFilter

public void setFilter(javax.swing.filechooser.FileFilter fltr)
ws.setFilter(fltr) sets the file filter of ws to fltr.

Parameters:
fltr -