frysk.gui.druid
Class CreateFryskSessionDruid

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.druid.CreateFryskSessionDruid
All Implemented Interfaces:
org.gnu.gtk.event.LifeCycleListener

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


Constructor Summary
CreateFryskSessionDruid(org.gnu.glade.LibGlade glade)
          Create a new instance of the Session Assistant
 
Method Summary
 void addCancelButtonListener(org.gnu.gtk.event.ButtonListener buttonListener)
           
 void addOkButtonListener(org.gnu.gtk.event.ButtonListener buttonListener)
           
 void lifeCycleEvent(org.gnu.gtk.event.LifeCycleEvent event)
           
 boolean lifeCycleQuery(org.gnu.gtk.event.LifeCycleEvent event)
           
 void loadSessionMode(Session givenSession)
           
 void presentEditObserversMode(Session session)
           
 void presentProcLister()
          presentProcList is a method used by the debug window to bring up a list of procs in the cpu queue that the debug window can attach to.
 void setEditSessionMode(Session givenSession)
          Sets the druid up into edit mode.
 void setNewSessionMode()
          Sets the druid up into new session mode.
 void setTitle(String string)
           
 void setupNameEntry()
           
 void showAll()
           
 
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, 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, 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

CreateFryskSessionDruid

public CreateFryskSessionDruid(org.gnu.glade.LibGlade glade)
Create a new instance of the Session Assistant

Parameters:
glade - - instance of the parsed glade file
Method Detail

setNewSessionMode

public void setNewSessionMode()
Sets the druid up into new session mode.


setEditSessionMode

public void setEditSessionMode(Session givenSession)
Sets the druid up into edit mode. Edit mode loads an existing session into the Assistant, and populates the existing widgets with the session data

Parameters:
givenSession - - session to edit

loadSessionMode

public void loadSessionMode(Session givenSession)

presentEditObserversMode

public void presentEditObserversMode(Session session)

presentProcLister

public void presentProcLister()
presentProcList is a method used by the debug window to bring up a list of procs in the cpu queue that the debug window can attach to.


setupNameEntry

public void setupNameEntry()

showAll

public void showAll()
Overrides:
showAll in class org.gnu.gtk.Widget

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

addOkButtonListener

public void addOkButtonListener(org.gnu.gtk.event.ButtonListener buttonListener)

addCancelButtonListener

public void addCancelButtonListener(org.gnu.gtk.event.ButtonListener buttonListener)

setTitle

public void setTitle(String string)
Overrides:
setTitle in class org.gnu.gtk.Window