|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Frame | +--javax.swing.JFrame | +--gate.gui.MainFrame
The main Gate GUI frame.
Inner Class Summary | |
(package private) class |
MainFrame.CartoonMinder
During longer operations it is nice to keep the user entertained so (s)he doesn't fall asleep looking at a progress bar that seems have stopped. |
(package private) class |
MainFrame.CleanMarkedCorpusEvalAction
This class represent an action which brings up the corpus evaluation tool |
(package private) class |
MainFrame.CloseSelectedResourcesAction
|
(package private) class |
MainFrame.CloseViewAction
Closes the view associated to a resource. |
(package private) class |
MainFrame.ExitGateAction
Closes the view associated to a resource. |
(package private) class |
MainFrame.GenerateStoredCorpusEvalAction
This class represent an action which brings up the corpus evaluation tool |
(package private) class |
MainFrame.HelpAboutAction
|
(package private) class |
MainFrame.HelpUserGuideAction
|
(package private) class |
MainFrame.LoadANNIEWithDefaultsAction
This class represent an action which loads ANNIE with default params |
(package private) class |
MainFrame.LoadANNIEWithoutDefaultsAction
This class represent an action which loads ANNIE with default params |
(package private) class |
MainFrame.LoadANNIEWithoutDefaultsAction1
This class represent an action which loads ANNIE without default param |
(package private) class |
MainFrame.LoadCreoleRepositoryAction
|
(package private) class |
MainFrame.LoadResourceFromFileAction
|
(package private) class |
MainFrame.LocaleSelectorMenuItem
|
(package private) class |
MainFrame.NewAnnotDiffAction
This class represent an action which brings up the Annot Diff tool |
(package private) class |
MainFrame.NewBootStrapAction
|
(package private) class |
MainFrame.NewCorpusEvalAction
This class represent an action which brings up the corpus evaluation tool |
(package private) class |
MainFrame.NewDSAction
|
(package private) class |
MainFrame.NewResourceAction
|
(package private) class |
MainFrame.OpenDSAction
|
(package private) class |
MainFrame.ProgressBarUpdater
Model for the tree representing the resources loaded in the system |
(package private) class |
MainFrame.RenameResourceAction
|
protected class |
MainFrame.ResourcesTreeCellEditor
|
protected class |
MainFrame.ResourcesTreeCellRenderer
|
protected class |
MainFrame.ResourcesTreeModel
|
(package private) class |
MainFrame.StatusBarUpdater
|
(package private) static class |
MainFrame.StopAction
|
(package private) class |
MainFrame.StoredMarkedCorpusEvalAction
This class represent an action which brings up the corpus evaluation tool |
(package private) class |
MainFrame.VerboseModeCorpusEvalToolAction
This class represent an action which brings up the corpus evaluation tool |
Inner classes inherited from class javax.swing.JFrame |
JFrame.AccessibleJFrame |
Inner classes inherited from class java.awt.Frame |
Frame.AccessibleAWTFrame |
Inner classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.AWTTreeLock |
Fields inherited from class javax.swing.JFrame |
accessibleContext, defaultCloseOperation, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
base, CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, frameSerializedDataVersion, HAND_CURSOR, icon, ICONIFIED, mbManagement, MOVE_CURSOR, N_RESIZE_CURSOR, nameCounter, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, ownedWindows, resizable, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, serialVersionUID, state, SW_RESIZE_CURSOR, TEXT_CURSOR, title, W_RESIZE_CURSOR, WAIT_CURSOR, weakThis |
Fields inherited from class java.awt.Window |
active, dbg, focusMgr, inputContext, inputContextLock, OPENED, ownedWindowList, warningString, windowListener, windowSerializedDataVersion |
Fields inherited from class java.awt.Container |
component, containerListener, containerSerializedDataVersion, dispatcher, layoutMgr, listeningBoundsChildren, listeningChildren, maxSize, ncomponents, printing, printingThreads |
Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
MainFrame()
Construct the frame |
Method Summary | |
void |
datastoreClosed(CreoleEvent e)
Called when a DataStore has been closed |
void |
datastoreCreated(CreoleEvent e)
Called when a DataStore has been created |
void |
datastoreOpened(CreoleEvent e)
Called when a DataStore has been opened |
static JFileChooser |
getFileChooser()
|
static Collection |
getGuiRoots()
|
static Icon |
getIcon(String filename)
|
static Map |
getListeners()
Returns the listeners map, a map that holds all the listeners that are singletons (e.g. |
protected void |
initGuiComponents()
|
protected void |
initListeners()
|
protected void |
initLocalData()
|
static void |
lockGUI(String message)
This method will lock all input to the gui by means of a modal dialog. |
void |
processFinished()
Called when the process is finished. |
protected void |
processWindowEvent(WindowEvent e)
Overridden so we can exit when window is closed |
void |
progressChanged(int i)
Called when the progress has changed |
void |
resourceLoaded(CreoleEvent e)
Called when a new Resource has been loaded into the system |
void |
resourceRenamed(Resource resource,
String oldName,
String newName)
Called when the creole register has renamed a resource.1 |
void |
resourceUnloaded(CreoleEvent e)
Called when a Resource has been removed from the system |
protected void |
select(Handle handle)
|
void |
statusChanged(String text)
Calleed when there a new status message. |
static void |
unlockGUI()
|
Methods inherited from class javax.swing.JFrame |
addImpl, createRootPane, createRootPaneException, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.awt.Frame |
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Field Detail |
JMenuBar menuBar
JSplitPane mainSplit
JSplitPane leftSplit
Box southBox
JLabel statusBar
JProgressBar progressBar
XJTabbedPane mainTabbedPane
JScrollPane projectTreeScroll
JScrollPane lowerScroll
JPopupMenu appsPopup
JPopupMenu dssPopup
JPopupMenu lrsPopup
JPopupMenu prsPopup
JMenu newLrsPopupMenu
JMenu newPrsPopupMenu
JMenu newAppPopupMenu
JMenu newLrMenu
JMenu newPrMenu
JMenu newAppMenu
JMenu loadANNIEMenu
JButton stopBtnx
Action stopActionx
JTree resourcesTree
JScrollPane resourcesTreeScroll
DefaultTreeModel resourcesTreeModel
DefaultMutableTreeNode resourcesTreeRoot
DefaultMutableTreeNode applicationsRoot
DefaultMutableTreeNode languageResourcesRoot
DefaultMutableTreeNode processingResourcesRoot
DefaultMutableTreeNode datastoresRoot
Splash splash
LogArea logArea
JScrollPane logScroll
JToolBar toolbar
static JFileChooser fileChooser
AppearanceDialog appearanceDialog
OptionsDialog optionsDialog
MainFrame.CartoonMinder animator
TabHighlighter logHighlighter
NewResourceDialog newResourceDialog
WaitDialog waitDialog
MainFrame.NewDSAction newDSAction
MainFrame.OpenDSAction openDSAction
MainFrame.HelpAboutAction helpAboutAction
MainFrame.NewAnnotDiffAction newAnnotDiffAction
MainFrame.NewBootStrapAction newBootStrapAction
MainFrame.NewCorpusEvalAction newCorpusEvalAction
MainFrame.GenerateStoredCorpusEvalAction generateStoredCorpusEvalAction
MainFrame.StoredMarkedCorpusEvalAction storedMarkedCorpusEvalAction
MainFrame.CleanMarkedCorpusEvalAction cleanMarkedCorpusEvalAction
MainFrame.VerboseModeCorpusEvalToolAction verboseModeCorpusEvalToolAction
static Map iconByName
getIcon(String)
method.private static Map listeners
private static Collection guiRoots
private static JDialog guiLock
Constructor Detail |
public MainFrame()
Method Detail |
public static Icon getIcon(String filename)
public static JFileChooser getFileChooser()
protected void select(Handle handle)
protected void initLocalData()
protected void initGuiComponents()
protected void initListeners()
public void progressChanged(int i)
ProgressListener
progressChanged
in interface ProgressListener
gate.event.ProgressListener
i
- public void processFinished()
processFinished
in interface ProgressListener
public void statusChanged(String text)
StatusListener
statusChanged
in interface StatusListener
gate.event.StatusListener
text
- public void resourceLoaded(CreoleEvent e)
CreoleListener
Resource
has been loaded into the systemresourceLoaded
in interface CreoleListener
public void resourceUnloaded(CreoleEvent e)
CreoleListener
Resource
has been removed from the systemresourceUnloaded
in interface CreoleListener
public void datastoreOpened(CreoleEvent e)
DataStore
has been openeddatastoreOpened
in interface CreoleListener
public void datastoreCreated(CreoleEvent e)
DataStore
has been createddatastoreCreated
in interface CreoleListener
public void datastoreClosed(CreoleEvent e)
DataStore
has been closeddatastoreClosed
in interface CreoleListener
public void resourceRenamed(Resource resource, String oldName, String newName)
CreoleListener
resourceRenamed
in interface CreoleListener
protected void processWindowEvent(WindowEvent e)
processWindowEvent
in class JFrame
public static Map getListeners()
public static Collection getGuiRoots()
public static void lockGUI(String message)
message
- the message to be displayed while the GUI is lockedpublic static void unlockGUI()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |