freemind.modes.mindmapmode
Class MindMapMode

java.lang.Object
  extended by freemind.modes.Mode
      extended by freemind.modes.mindmapmode.MindMapMode

public class MindMapMode
extends Mode


Constructor Summary
MindMapMode()
           
 
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 freemind.modes.Mode
toLocalizedString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MindMapMode

public MindMapMode()
Method Detail

init

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

createModeController

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

Specified by:
createModeController in class Mode

toString

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

activate

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

Specified by:
activate in class Mode

restore

public void restore(java.lang.String restoreable)
             throws java.io.FileNotFoundException,
                    XMLParseException,
                    java.net.MalformedURLException,
                    java.io.IOException,
                    java.net.URISyntaxException
Specified by:
restore in class Mode
Throws:
java.io.FileNotFoundException
XMLParseException
java.net.MalformedURLException
java.io.IOException
java.net.URISyntaxException

getController

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

getDefaultModeController

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

Specified by:
getDefaultModeController in class Mode