ti.chimera.service
Class FileBrowser

java.lang.Object
  extended byti.chimera.Service
      extended byti.chimera.service.FileBrowser

public abstract class FileBrowser
extends Service

for now this is just here so FileChooser has a way to get the file browser plugin to manufacture a popup... eventually this should probably make all file browser service methods available...

Version:
0.1
Author:
Rob Clark

Constructor Summary
FileBrowser()
          Class Constructor.
 
Method Summary
abstract  void fireAction(oscript.fs.AbstractFile file, java.lang.String action)
          Trigger a specified action for the specified file.
abstract  javax.swing.JPopupMenu getPopupMenu(oscript.fs.AbstractFile file)
          Get popup menu associated with the specified file.
abstract  java.lang.String[] getRecentItems()
          Get an array of files that were recently opened, in order of most recent first.
 
Methods inherited from class ti.chimera.Service
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileBrowser

public FileBrowser()
Class Constructor.

Method Detail

getPopupMenu

public abstract javax.swing.JPopupMenu getPopupMenu(oscript.fs.AbstractFile file)
Get popup menu associated with the specified file.


fireAction

public abstract void fireAction(oscript.fs.AbstractFile file,
                                java.lang.String action)
Trigger a specified action for the specified file. If the action is null then trigger the default action, if any.


getRecentItems

public abstract java.lang.String[] getRecentItems()
Get an array of files that were recently opened, in order of most recent first.

Returns:
array of file paths