|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfile.WorkSpace
public class WorkSpace
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 |
|---|
public WorkSpace()
| Method Detail |
|---|
public javax.swing.JMenu getFileMenu()
public void setFileable(Storable flbl)
flbl - public void setFilter(javax.swing.filechooser.FileFilter fltr)
fltr -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||