org.pietschy.command.demo.file
Class RecentFileGroup

java.lang.Object
  extended by org.pietschy.command.Command
      extended by org.pietschy.command.CommandGroup
          extended by org.pietschy.command.file.AbstractRecentFileGroup
              extended by org.pietschy.command.demo.file.RecentFileGroup
All Implemented Interfaces:
java.util.EventListener, CommandManagerListener

public class RecentFileGroup
extends AbstractRecentFileGroup

Version:
$Revision: 1.3 $
Author:
andrewp

Field Summary
 
Fields inherited from class org.pietschy.command.CommandGroup
memberList
 
Fields inherited from class org.pietschy.command.Command
internalLog, listenerList, pcs
 
Constructor Summary
RecentFileGroup(CommandManager manager, java.lang.String id)
           
 
Method Summary
 void openFile(java.io.File file)
          Called to open the selected file.
 void setFileDemoPanel(FileDemoPanel fileDemoPanel)
           
 
Methods inherited from class org.pietschy.command.file.AbstractRecentFileGroup
add, addAll, getAcceleratorForIndex, getAcceleratorModifiers, getClearCommand, getCommandFor, getDisplaySize, getExcludedFile, getFiles, isAccelerated, isIncludeNonExistentFiles, load, refresh, setAccelerated, setAcceleratorModifiers, setDisplaySize, setExcludedFile, setExcludedFiles, setIncludeNonExistentFiles, store
 
Methods inherited from class org.pietschy.command.CommandGroup
acceptVisitor, add, add, addGlue, addGlue, addGroupListener, addInline, addInline, addSeparator, addSeparator, bindMembers, bindMembers, commandRegistered, contains, createButton, createButton, createMenuBar, createMenuBar, createMenuBar, createMenuBar, createMenuItem, createPopupMenu, createPopupMenu, createToolBar, createToolBar, createToolBar, createToolBar, fireMembersChanged, getMemberCount, getMemberFactory, getMemberList, isAllowableMember, isInlineMember, isMember, rebuildAllPopups, remove, remove, removeGroupListener, reset, reset, visit, visitChildren
 
Methods inherited from class org.pietschy.command.Command
addFace, addHoverListener, addNewFace, addNotify, addPropertyChangeListener, addPropertyChangeListener, attach, buttonIterator, configureButtonAppearance, configureButtonAppearances, configureButtonAppearances, configureButtonStates, createButton, createButton, createButton, createMenuItem, createMenuItem, createMenuItem, detach, export, faceExists, fireHoverEnded, fireHoverStarted, getAccelerator, getAlternativeFaceNames, getButtonFactory, getButtonIn, getCommandManager, getDefaultFace, getDefaultFace, getDescription, getFace, getFace, getIcon, getId, getLongDescription, getMenuFactory, getMnemonic, getMnemonicIndex, getProperty, getProperty, getPropertyNames, getSelectedIcon, getText, getTextPosition, getToolbarFactory, initCommandManager, installFace, isAnonymous, isAttachedTo, isEnabled, isVisible, putProperty, removeHoverListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, requestFocusIn, setAccelerator, setButtonFactory, setDescription, setEnabled, setIcon, setLongDescription, setMenuFactory, setMnemonic, setMnemonicIndex, setSelectedIcon, setText, setTextPosition, setToolbarFactory, setVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecentFileGroup

public RecentFileGroup(CommandManager manager,
                       java.lang.String id)
Method Detail

openFile

public void openFile(java.io.File file)
Description copied from class: AbstractRecentFileGroup
Called to open the selected file. Subclasses must implement this method to provide the file open behaviour.

Specified by:
openFile in class AbstractRecentFileGroup
Parameters:
file - the file to be opened.

setFileDemoPanel

public void setFileDemoPanel(FileDemoPanel fileDemoPanel)