frysk.gui
Class SessionManagerDialog

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.glib.GObject
          extended by org.gnu.gtk.GtkObject
              extended by org.gnu.gtk.Widget
                  extended by org.gnu.gtk.Container
                      extended by org.gnu.gtk.Bin
                          extended by org.gnu.gtk.Window
                              extended by org.gnu.gtk.Dialog
                                  extended by frysk.gui.SessionManagerDialog
All Implemented Interfaces:
org.gnu.gtk.event.LifeCycleListener

public class SessionManagerDialog
extends org.gnu.gtk.Dialog
implements org.gnu.gtk.event.LifeCycleListener

SessionManagerGui - Manage all entry work-flows into the UI


Constructor Summary
SessionManagerDialog(org.gnu.glade.LibGlade glade)
          Session Manager UI entry point.
 
Method Summary
 void helpSession()
          Start the Frysk help system.
 boolean isSessionLaunched()
          Returns whether there is a session currently running
 void lifeCycleEvent(org.gnu.gtk.event.LifeCycleEvent event)
           
 boolean lifeCycleQuery(org.gnu.gtk.event.LifeCycleEvent event)
           
 void openSession()
          Open a session.
 
Methods inherited from class org.gnu.gtk.Dialog
addButton, addButton, addListener, addWidget, getActionArea, getDialog, getDialogLayout, getEventListenerClass, getEventType, getHasSeparator, getResponseForWidget, getType, removeListener, run, setDefaultResponse, setHasSeparator
 
Methods inherited from class org.gnu.gtk.Window
addAccelGroup, deiconify, destroy, fullscreen, getAcceptFocus, getDefaultIconList, getFocusOnMap, getFocusWidget, getGravity, getIcon, getIconList, getIconName, getPosition, getScreen, getSize, getSkipPagerHint, getSkipTaskbarHint, getTitle, getTransientParent, getWindow, hasToplevelFocus, iconify, isActive, isDestroyed, listToplevelWindows, maximize, move, present, removeAccelGroup, resize, setAcceptFocus, setAutoStartupNotification, setDecorated, setDefaultIcon, setDefaultIconFromFile, setDefaultIconList, setDefaultIconName, setDefaultSize, setDefaultWidget, setFocusOnMap, setFocusWidget, setGeometryHints, setGravity, setIcon, setIconFromFile, setIconList, setIconName, setKeepAbove, setKeepBelow, setModal, setPosition, setResizable, setScreen, setSkipPagerHint, setSkipTaskbarHint, setTitle, setTransientParent, stick, unfullscreen, unmaximize, unstick
 
Methods inherited from class org.gnu.gtk.Bin
getChild
 
Methods inherited from class org.gnu.gtk.Container
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode
 
Methods inherited from class org.gnu.gtk.Widget
activate, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getAllocation, getCanFocus, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getSensitive, getStyle, getToplevel, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setCanFocus, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight
 
Methods inherited from class org.gnu.gtk.GtkObject
sink
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionManagerDialog

public SessionManagerDialog(org.gnu.glade.LibGlade glade)
Session Manager UI entry point. Read the glade files, setup the controls, and setup edit data if needed.

Parameters:
glade - - glade file for the session manager.
Method Detail

lifeCycleEvent

public void lifeCycleEvent(org.gnu.gtk.event.LifeCycleEvent event)
Specified by:
lifeCycleEvent in interface org.gnu.gtk.event.LifeCycleListener

lifeCycleQuery

public boolean lifeCycleQuery(org.gnu.gtk.event.LifeCycleEvent event)
Specified by:
lifeCycleQuery in interface org.gnu.gtk.event.LifeCycleListener

isSessionLaunched

public boolean isSessionLaunched()
Returns whether there is a session currently running

Returns:
- boolea, is there a session running?

openSession

public void openSession()
Open a session. When the open button is clicked, run through the druid. The user will then choose which specific processes they want in this session, and which observers to use as well.


helpSession

public void helpSession()
Start the Frysk help system.