|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iris.dmc.pdcc.gui.PdccMain
The main launching class for PDCC. This sets up the primary display window and establishes all general GUI functions.
This class is instantiated via a singleton mechanism.
Copyright (C) 2006 Incorporated Research Institutions for Seismology
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
For more information, please contact the principle author shown here.
| Field Summary | |
static java.lang.String |
datalessExportBuilderType
Dataless export builder type (lower case). |
static java.lang.String |
miniSeedExportBuilderType
miniSEED export builder type (lower case). |
static java.lang.String |
sacExportBuilderType
SAC export builder type (lower case). |
static java.lang.String |
seedExportBuilderType
SEED export builder type (lower case). |
| Method Summary | |
void |
checkDbExportBuilder()
Check to see that there is a single instance of the db export builder. |
void |
checkTableContainer()
Check to see that there is a single instance of a table container. |
void |
exitPDCC()
|
static javax.swing.JFrame |
getAppFrame()
Get application frame instance. |
static edu.iris.dmc.isis.AppModel |
getAppModel()
Get app model instance. |
java.lang.String |
getConfigFileName()
return the currently-assigned config file name of this instance |
static PdccConfigUtil |
getConfigUtil()
Return the currently-assigned confuration utility for this instance |
static PdccDbExportBuilder |
getDbExportBuilder()
Get DB export builder instance. |
PdccDbImportDirector |
getDbImportDirector()
Get DB import director instance. |
static java.lang.String |
getExportBuilderTypeDescription(java.lang.String exportBuilderType)
Gets the description for the specified export builder type. |
static java.lang.String |
getInstallDirectory(java.lang.Object instance)
Get our installation directory using a local object instance. |
static PdccMain |
getInstance()
Return a Singleton instance of PdccMain. |
static PdccMain |
getInstance(java.lang.String configFile,
java.lang.String sessionName)
Return a Singleton instance of PdccMain. |
static PdccMainPanel |
getMainPanel()
Get main panel instance. |
protected javax.swing.Action |
getNewAbbreviationAction(int type,
java.lang.String name)
|
java.lang.String |
getNewCachePathName(java.lang.String dataFileName)
Generate a full cache pathname based on the indicated source file name. |
static PdccTableContainer |
getTableContainer()
Get DB table container instance. |
static void |
main(java.lang.String[] args)
Main launcher method for PDCC. |
void |
notifyConfigReload(PdccConfigFrame configFrame)
Receive notification from a configuration frame that the configuration has been changed, which precipitates a reloading of the configuration. |
static void |
popupError(java.lang.String errTitle,
java.lang.String errMsg)
Pop up a dialog box with an error message. |
static void |
resetInstance()
Delete the singleton instance of this class. |
static java.lang.String |
toHexString(byte[] b)
Fast-convert a byte array to a hex string with possible leading zero. |
void |
windowActivated(java.awt.event.WindowEvent e)
WindowListener interface implementation. |
void |
windowClosed(java.awt.event.WindowEvent e)
WindowListener interface implementation. |
void |
windowClosing(java.awt.event.WindowEvent e)
WindowListener interface implementation. |
void |
windowDeactivated(java.awt.event.WindowEvent e)
WindowListener interface implementation. |
void |
windowDeiconified(java.awt.event.WindowEvent e)
WindowListener interface implementation. |
void |
windowIconified(java.awt.event.WindowEvent e)
WindowListener interface implementation. |
void |
windowOpened(java.awt.event.WindowEvent e)
WindowListener interface implementation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String datalessExportBuilderType
public static java.lang.String seedExportBuilderType
public static java.lang.String miniSeedExportBuilderType
public static java.lang.String sacExportBuilderType
| Method Detail |
public static java.lang.String getExportBuilderTypeDescription(java.lang.String exportBuilderType)
exportBuilderType - String
public static PdccMain getInstance()
public static PdccMain getInstance(java.lang.String configFile,
java.lang.String sessionName)
public static void resetInstance()
public static PdccMainPanel getMainPanel()
public static javax.swing.JFrame getAppFrame()
public static edu.iris.dmc.isis.AppModel getAppModel()
public static PdccTableContainer getTableContainer()
public static PdccDbExportBuilder getDbExportBuilder()
throws java.lang.Exception
java.lang.Exceptionpublic static PdccConfigUtil getConfigUtil()
public static void popupError(java.lang.String errTitle,
java.lang.String errMsg)
public static java.lang.String getInstallDirectory(java.lang.Object instance)
public PdccDbImportDirector getDbImportDirector()
public void checkTableContainer()
public void checkDbExportBuilder()
public void windowClosing(java.awt.event.WindowEvent e)
windowClosing in interface java.awt.event.WindowListenerpublic void windowActivated(java.awt.event.WindowEvent e)
windowActivated in interface java.awt.event.WindowListenerpublic void windowClosed(java.awt.event.WindowEvent e)
windowClosed in interface java.awt.event.WindowListenerpublic void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated in interface java.awt.event.WindowListenerpublic void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified in interface java.awt.event.WindowListenerpublic void windowIconified(java.awt.event.WindowEvent e)
windowIconified in interface java.awt.event.WindowListenerpublic void windowOpened(java.awt.event.WindowEvent e)
windowOpened in interface java.awt.event.WindowListenerpublic java.lang.String getNewCachePathName(java.lang.String dataFileName)
public void notifyConfigReload(PdccConfigFrame configFrame)
public java.lang.String getConfigFileName()
public static void main(java.lang.String[] args)
args - arg0=config file path, arg1=session config namepublic static java.lang.String toHexString(byte[] b)
protected javax.swing.Action getNewAbbreviationAction(int type,
java.lang.String name)
public void exitPDCC()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||