ghm.follow.gui
Class FollowApp

java.lang.Object
  extended byghm.follow.gui.FollowApp

public class FollowApp
extends java.lang.Object

This class' main() method is the entry point into the Follow application.

Author:
Greg Merrill
See Also:
main(String[])

Field Summary
static boolean DEBUG
           
static java.lang.String FILE_SEPARATOR
           
static boolean HAS_SOLARIS_BUG
           
static java.lang.String MESSAGE_LINE_SEPARATOR
           
 
Method Summary
 void disableDragAndDrop(java.awt.Component c)
           
 void enableDragAndDrop(java.awt.Component c)
           
 FollowAppAction getAction(java.lang.String name)
           
 java.util.List getAllFileFollowingPanes()
           
 FollowAppAttributes getAttributes()
           
 java.util.Map getFileToFollowingPaneMap()
           
 javax.swing.JFrame getFrame()
           
static FollowApp getInstance()
           
 java.util.ResourceBundle getResourceBundle()
           
 FileFollowingPane getSelectedFileFollowingPane()
           
 SystemInterface getSystemInterface()
           
 javax.swing.JTabbedPane getTabbedPane()
           
static void main(java.lang.String[] args)
          Invoke this method to start the Follow application.
 void putAction(java.lang.String name, FollowAppAction action)
           
 void refreshRecentFilesMenu()
           
 void setCursor(int cursorType)
          Warning: This method should be called only from the event dispatching thread.
 void setSystemInterface(SystemInterface systemInterface)
           
 void show()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_SEPARATOR

public static final java.lang.String FILE_SEPARATOR

MESSAGE_LINE_SEPARATOR

public static final java.lang.String MESSAGE_LINE_SEPARATOR
See Also:
Constant Field Values

DEBUG

public static final boolean DEBUG

HAS_SOLARIS_BUG

public static boolean HAS_SOLARIS_BUG
Method Detail

getAction

public FollowAppAction getAction(java.lang.String name)

putAction

public void putAction(java.lang.String name,
                      FollowAppAction action)

refreshRecentFilesMenu

public void refreshRecentFilesMenu()

show

public void show()

setCursor

public void setCursor(int cursorType)
Warning: This method should be called only from the event dispatching thread.

Parameters:
cursorType - may be Cursor.DEFAULT_CURSOR or Cursor.WAIT_CURSOR

enableDragAndDrop

public void enableDragAndDrop(java.awt.Component c)

disableDragAndDrop

public void disableDragAndDrop(java.awt.Component c)

getSelectedFileFollowingPane

public FileFollowingPane getSelectedFileFollowingPane()

getAllFileFollowingPanes

public java.util.List getAllFileFollowingPanes()

getAttributes

public FollowAppAttributes getAttributes()

getFileToFollowingPaneMap

public java.util.Map getFileToFollowingPaneMap()

getFrame

public javax.swing.JFrame getFrame()

getInstance

public static FollowApp getInstance()

getResourceBundle

public java.util.ResourceBundle getResourceBundle()

getSystemInterface

public SystemInterface getSystemInterface()

setSystemInterface

public void setSystemInterface(SystemInterface systemInterface)

getTabbedPane

public javax.swing.JTabbedPane getTabbedPane()

main

public static void main(java.lang.String[] args)
Invoke this method to start the Follow application. If any command-line arguments are passed in, they are assume to be filenames and are opened in the Follow application

Parameters:
args - files to be opened