freemind.modes.filemode
Class FileMode

java.lang.Object
  extended by freemind.modes.filemode.FileMode
All Implemented Interfaces:
Mode

public class FileMode
extends java.lang.Object
implements Mode


Constructor Summary
FileMode()
           
 
Method Summary
 void activate()
          Called whenever this mode is chosen in the program.
 ModeController createModeController()
          Creates a new mode controller and returns it.
 Controller getController()
           
 ModeController getDefaultModeController()
          This modeController is only used, when no map is opened.
 void init(Controller c)
           
 void restore(java.lang.String restoreable)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileMode

public FileMode()
Method Detail

init

public void init(Controller c)
Specified by:
init in interface Mode

toString

public java.lang.String toString()
Specified by:
toString in interface Mode
Overrides:
toString in class java.lang.Object

activate

public void activate()
Called whenever this mode is chosen in the program. (updates Actions etc.)

Specified by:
activate in interface Mode

restore

public void restore(java.lang.String restoreable)
Specified by:
restore in interface Mode

getController

public Controller getController()
Specified by:
getController in interface Mode

getDefaultModeController

public ModeController getDefaultModeController()
Description copied from interface: Mode
This modeController is only used, when no map is opened.

Specified by:
getDefaultModeController in interface Mode

createModeController

public ModeController createModeController()
Description copied from interface: Mode
Creates a new mode controller and returns it.

Specified by:
createModeController in interface Mode