de.uni_paderborn.fujaba.app
Class FujabaApp

java.lang.Object
  extended byde.uni_paderborn.fujaba.app.FujabaApp

public class FujabaApp
extends java.lang.Object

The Fujaba application. Here you can find the main method.

Version:
$Revision: 1.126.2.7 $
Author:
$Author: lowende $

Field Summary
static java.net.URI FUJABA_BASE
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Vector javaFiles
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String PROPERTIES_PATH
          The URI of the properties file in which Fujaba remembers, which directory should be the 'propertyDir'.
 
Method Summary
static void exit(int status)
          Calls System.exit or hides FrameMain
static FujabaApp get()
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.String getLoadFprFile()
          Get the loadFprFile attribute of the FujabaApp object
static PersistencySupport getPersistencySupport()
          Get the persistencySupport attribute of the FujabaApp class
static de.upb.lib.plugins.PluginManager getPluginManager()
           
static boolean isAllowedToCallSystemExit()
          exit behaviour
 boolean isDebugMode()
           
 boolean isInvisible()
          Get the invisible attribute of the FujabaApp object
 boolean isMaximize()
          Get the maximize attribute of the FujabaApp object
 boolean isShowAboutBox()
          Get the showAboutBox attribute of the FujabaApp object
static void main(java.lang.String[] argv)
          main function of fujaba. the following parameters are allowed: -noabout: do not show the fujaba about box.
 void run()
          this method initializes fujaba.
static void setAllowedToCallSystemExit(boolean allowedToCallSystemExit)
          change the exit behaviour
 void setDebugMode(boolean value)
           
 void setInvisible(boolean flag)
          Sets the invisible attribute of the FujabaApp object
 void setLoadFprFile(java.lang.String name)
          Sets the loadFprFile attribute of the FujabaApp object
 void setMaximize(boolean maximize)
          Sets the maximize attribute of the FujabaApp object
static void setPersistencySupport(PersistencySupport value)
          Sets the persistencySupport attribute of the FujabaApp class
static void setPluginManager(de.upb.lib.plugins.PluginManager manager)
          sets the pluginManager attribute
 void setShowAboutBox(boolean flag)
          Sets the showAboutBox attribute of the FujabaApp object
static FujabaApp start()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FUJABA_BASE

public static final transient java.net.URI FUJABA_BASE
No comment provided by developer, please add a comment to improve documentation.


PROPERTIES_PATH

public static final java.lang.String PROPERTIES_PATH
The URI of the properties file in which Fujaba remembers, which directory should be the 'propertyDir'.


javaFiles

public java.util.Vector javaFiles
No comment provided by developer, please add a comment to improve documentation.

Method Detail

getPersistencySupport

public static PersistencySupport getPersistencySupport()
Get the persistencySupport attribute of the FujabaApp class

Returns:
The persistencySupport value

setPersistencySupport

public static void setPersistencySupport(PersistencySupport value)
Sets the persistencySupport attribute of the FujabaApp class

Parameters:
value - The new persistencySupport value

get

public static FujabaApp get()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

start

public static FujabaApp start()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

run

public void run()
this method initializes fujaba. It creates everything the user sees after calling fujaba.


setLoadFprFile

public void setLoadFprFile(java.lang.String name)
Sets the loadFprFile attribute of the FujabaApp object

Parameters:
name - The new loadFprFile value

getLoadFprFile

public java.lang.String getLoadFprFile()
Get the loadFprFile attribute of the FujabaApp object

Returns:
The loadFprFile value

setShowAboutBox

public void setShowAboutBox(boolean flag)
Sets the showAboutBox attribute of the FujabaApp object

Parameters:
flag - The new showAboutBox value

isShowAboutBox

public boolean isShowAboutBox()
Get the showAboutBox attribute of the FujabaApp object

Returns:
The showAboutBox value

setInvisible

public void setInvisible(boolean flag)
Sets the invisible attribute of the FujabaApp object

Parameters:
flag - The new invisible value

isInvisible

public boolean isInvisible()
Get the invisible attribute of the FujabaApp object

Returns:
The invisible value

setMaximize

public void setMaximize(boolean maximize)
Sets the maximize attribute of the FujabaApp object

Parameters:
maximize - The new maximize value

isMaximize

public boolean isMaximize()
Get the maximize attribute of the FujabaApp object

Returns:
The maximize value

setDebugMode

public void setDebugMode(boolean value)

isDebugMode

public boolean isDebugMode()

main

public static void main(java.lang.String[] argv)
main function of fujaba. the following parameters are allowed:
  -noabout: do not show the fujaba about box.
  -invisible: makes frame invisible as soon as possible.
  -last: loads the last project.
  -debug: turns on the debug mode.
  -max: starts fujaba in full screen mode.
  -config : uses  instead of $HOME/fujaba as property dir.
 

Parameters:
argv - Command line parameters passed to the program.

getPluginManager

public static de.upb.lib.plugins.PluginManager getPluginManager()
Returns:
the associated PluginManager instance

setPluginManager

public static void setPluginManager(de.upb.lib.plugins.PluginManager manager)
sets the pluginManager attribute

Parameters:
manager -

isAllowedToCallSystemExit

public static boolean isAllowedToCallSystemExit()
exit behaviour

Returns:
true if Fujaba calls System.exit(int) on exit (default)

setAllowedToCallSystemExit

public static void setAllowedToCallSystemExit(boolean allowedToCallSystemExit)
change the exit behaviour

Parameters:
allowedToCallSystemExit - true if Fujaba should call System.exit(int) on exit, false if not

exit

public static void exit(int status)
Calls System.exit or hides FrameMain

Parameters:
status - exit code for System.exit(int)
See Also:
isAllowedToCallSystemExit()