net.sourceforge.nite.gui.actions
Class GenericActions

java.lang.Object
  extended by net.sourceforge.nite.gui.actions.GenericActions

public class GenericActions
extends java.lang.Object

A bunch of useful actions. Uses, if possible and if not overridden from another source, the Eclipse icon set (http://www.eclipse.org).


Constructor Summary
GenericActions()
           
 
Method Summary
static javax.swing.Action getExitAction(NOMWriteCorpus nom)
          Returns a exit-action for the given corpus, which includes a 'save changed' check
static javax.swing.Action getPrintAction(NTranscriptionView ntv)
          Returns a print-action for the given NTV
static javax.swing.Action getSaveAction(NOMWriteCorpus nom)
          Returns a save-action for the given corpus.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericActions

public GenericActions()
Method Detail

getSaveAction

public static javax.swing.Action getSaveAction(NOMWriteCorpus nom)
Returns a save-action for the given corpus.


getExitAction

public static javax.swing.Action getExitAction(NOMWriteCorpus nom)
Returns a exit-action for the given corpus, which includes a 'save changed' check


getPrintAction

public static javax.swing.Action getPrintAction(NTranscriptionView ntv)
Returns a print-action for the given NTV