|
Hilbert II - Version 0.03.08 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.qedeq.gui.se.control.QedeqController
Controller for a the GUI application. A Controller, which represents the classes connecting the model and the view, and is used to communicate between classes in the model and view. Connects the models and the views. Handles program flow. TODO mime 20070605: encapsulate actions that need another thread for later java versions: use Executor framework
| Field Summary | |
(package private) static int |
MAXIMUM_MODULE_HISTORY
Maximum number of entries in history. |
| Constructor Summary | |
QedeqController(JFrame main)
Constructor. |
|
| Method Summary | |
(package private) void |
addToModuleHistory(String url)
|
Action |
getAboutAction()
Get about action. |
Action |
getAddAction()
Get action for adding a new QEDEQ module out of the web. |
Action |
getAddAllModulesFromQedeqAction()
Get action for loading all QEDEQ modules for the current release from the QEDEQ web site. |
Action |
getAddFileAction()
Get action for adding a new QEDEQ module from a local file. |
Action |
getCheckLogicAction()
Get action for checking the logical correctness of the selected QEDEQ modules. |
Action |
getExitAction()
Get exit action. |
Action |
getHelpAction()
Get help action. |
Action |
getLatexAction()
Get action for transforming the selected QEDEQ modules into LaTeX. |
(package private) JFrame |
getMainFrame()
|
char |
getMnemonic(String key)
Returns a mnemonic from the resource bundle. |
(package private) ArrayList |
getModuleHistory()
|
Action |
getParserAction()
Get parser window startup action. |
Action |
getPreferencesAction()
Get preferences window startup action. |
Action |
getRemoveAllAction()
Get action for removing all QEDEQ modules from memory. |
Action |
getRemoveLocalBufferAction()
Get action for removing all QEDEQ modules from memory and local buffer. |
ModuleProperties[] |
getSelected()
Get selected module. |
String |
getString(String key)
This method returns a string from the resource bundle. |
(package private) String[] |
getSupportedLanguages(ModuleProperties prop)
|
(package private) void |
selectionError()
|
void |
setTreeCtrl(QedeqTreeCtrl treeCtrl)
Set tree controller. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static final int MAXIMUM_MODULE_HISTORY
| Constructor Detail |
public QedeqController(JFrame main)
main - Reference to main frame.| Method Detail |
public void setTreeCtrl(QedeqTreeCtrl treeCtrl)
treeCtrl - Tree controller.
public ModuleProperties[] getSelected()
throws NothingSelectedException
NothingSelectedException - No modules were selected.public Action getAboutAction()
public Action getHelpAction()
public Action getPreferencesAction()
public Action getParserAction()
public Action getExitAction()
public Action getAddAction()
public Action getAddFileAction()
public Action getLatexAction()
public Action getCheckLogicAction()
public Action getRemoveAllAction()
public Action getRemoveLocalBufferAction()
public Action getAddAllModulesFromQedeqAction()
public String getString(String key)
key - Name to look for.
public char getMnemonic(String key)
key - Name to look for.
void addToModuleHistory(String url)
ArrayList getModuleHistory()
JFrame getMainFrame()
void selectionError()
String[] getSupportedLanguages(ModuleProperties prop)
|
Hilbert II - Version 0.03.08 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ©left GNU General Public Licence All Rights Reserved. |