COPYRIGHT osid.SidImplementationLicense
ALWAYS_PACKAGE eas.ui
ALWAYS_MERGE_FROM GuiServices.merge


BEGIN
    CLASS GUIServices
    EXTENDS mit.swing.xJPanel
    IMPLEMENTS java.awt.event.ActionListener
    
    DECLARE private eas.Settings settings = eas.Settings.getInstance()
    DECLARE private static GUIServices guiServices = new GUIServices()
    METHOD private GUIServices()
    METHOD public static GUIServices getInstance():return guiServices
    
    DECLARE private java.util.Properties properties = null    
    DECLARE private eas.searcheditor.SearchTypeComboBox searchTypeComboBox = null
    DECLARE private eas.SearchManager searchManager = null
    
    DECLARE public static final int MAIN_CONTEXT_CODE		 	= 1000
    DECLARE public static final int SEARCH_RESULTS_CONTEXT_CODE 	= 1010
    
    GETSET eas.ui.MenuToolBar MenuToolBar
    
    SET java.awt.print.Printable PrintableComponent
    RAISES eas.event.Quit
    MERGE MergeRaiseQuit:METHOD public void raiseQuit()
    
    RAISES eas.event.Log
    GET String LogMessage
    MERGE MergeLog:METHOD public void log(Throwable throwable)
    MERGE MergeLog1:METHOD public void log(String message)
    MERGE MergeLog2:METHOD public void log(Throwable throwable, String alternateMessage)
    MERGE MergeDebugTrace:METHOD public void debugTrace(Throwable throwable)

    RAISES eas.event.Alert
    GET String AlertMessage
    MERGE MergeAlert:METHOD public void alert(String message)

    RAISES eas.event.HelpView
    GET String HelpText
    MERGE MergeHelpView:METHOD public void helpView(String text)
    
    GETSET javax.swing.JFrame ParentFrame

    RAISES eas.event.SearchesCompleted
    METHOD eas.SearchManager getSearchManager():return this.searchManager
    MERGE MergeRaiseSearchesCompleted:METHOD public void raiseSearchesCompleted(eas.SearchManager searchManager)
    
    RAISES eas.event.SearchCompleted
    GET int SearchIndex
    MERGE MergeRaiseSearchCompleted:METHOD public void raiseSearchCompleted(int index)
    
    RAISES eas.event.EnableSearch
    MERGE MergeRaiseEnableSearch:METHOD public void raiseEnableSearch()
    RAISES eas.event.DisableSearch
    MERGE MergeRaiseDisableSearch:METHOD public void raiseDisableSearch()
    
    METHOD void setSearchTypeComboBox(eas.searcheditor.SearchTypeComboBox searchTypeComboBox):this.searchTypeComboBox = searchTypeComboBox
    METHOD eas.searcheditor.SearchTypeComboBox getSearchTypeComboBox():return this.searchTypeComboBox
    
    MERGE MergeActionPerformed:METHOD public void actionPerformed(java.awt.event.ActionEvent ae)    

    METHOD public void raisePageSetupAction():new eas.event.PageSetupActionEvent(this).raise()
    METHOD public void raisePrintAction():new eas.event.PrintActionEvent(this).raise()
    METHOD public void raiseExitAction():new eas.event.ExitActionEvent(this).raise()
    METHOD public void raiseSearchAction():new eas.event.SearchActionEvent(this).raise()
    GET String PartStructureIdString
    METHOD public void raisePreferencesAction():new eas.event.PreferencesActionEvent(this).raise()
    METHOD public void raiseAboutAction():new eas.event.AboutActionEvent(this).raise()
    METHOD public void raiseHelpAction():new eas.event.HelpActionEvent(this).raise()
    
    RAISES eas.event.PageSetupAction
    RAISES eas.event.PrintAction
    RAISES eas.event.ExitAction
    RAISES eas.event.SearchAction
    RAISES eas.event.PreferencesAction
    RAISES eas.event.AboutAction
    RAISES eas.event.HelpAction
    
    LISTENS_TO eas.event.PageSetupAction
    LISTENS_TO eas.event.PrintAction
END
