|
C++ main module for gpm Package
1.0
|
this class is the main class of the Dynsys GUI Interface More...
#include <GPMG_Application.h>


Public Member Functions | |
| virtual SP::GUI_ClassFactory | newClassFactoryInstance () const |
| return the loading class factory More... | |
| void | setRuleGraphColors (const tString &patternColor, const tString &transformerColor, const tString &deleteColor, const tString &keepColor, const tString &connectionsColor) |
| set the colors of rules graph More... | |
| void | getRuleGraphColors (tString &patternColor, tString &transformerColor, tString &deleteColor, tString &keepColor, tString &connectionColor) const |
| get the colors of rules graph More... | |
| virtual void | loadFromUIClass (const UI_Class &mclass) |
| how to load the object from a meta model class More... | |
| virtual void | saveToUIClass (UI_Class &mclass) const |
| how to save the object to a meta model class More... | |
| virtual void | run () |
| initialize the application More... | |
| virtual SP::GUI_RootWindow | NewRootWindowInstance () const |
| create a root window instance More... | |
| virtual void | loadModelFile (const tString &projectFile) |
| load the model More... | |
| virtual tString | saveModelFile (const tString &projectFile) |
| save the model More... | |
Static Public Member Functions | |
| static SP::GPMG_Application | New (int &argc, char *argv[], SP::GUI_EngineClassFactory cf) |
Protected Member Functions | |
| GPMG_Application (int &argc, char *argv[], SP::GUI_EngineClassFactory cf) | |
| build a GPMG_Application More... | |
| virtual | ~GPMG_Application (void) |
| destroy a GPMG_Application More... | |
this class is the main class of the Dynsys GUI Interface
|
protected |
build a GPMG_Application
References CORE_Color::New(), and tString.
Referenced by New().


|
protectedvirtual |
destroy a GPMG_Application
|
inline |
get the colors of rules graph
Referenced by GPMG_PreferencesRootPanel::componentClicked(), GPMG_RuleGraphDrawPanel::paintElements(), saveToUIClass(), and GPMG_PreferencesRootPanel::updateValues().

|
virtual |
how to load the object from a meta model class
References setRuleGraphColors(), and tString.

|
virtual |
load the model
References CORE_IO::isFile(), GPMG_ClassFactory::New(), and GPMG_Project::New().

|
inlinestatic |
References GPMG_Application().
Referenced by executeProgram().


|
inlinevirtual |
return the loading class factory
Must be specialized for all packages depending on gui
References GPMG_ClassFactory::New().

|
inlinevirtual |
create a root window instance
References GPMG_MainWindow::New().

|
virtual |
save the model
References GPMG_Project::saveData(), and tString.

|
virtual |
how to save the object to a meta model class
References getRuleGraphColors(), and tString.

|
inline |
set the colors of rules graph
Referenced by GPMG_PreferencesRootPanel::componentClicked(), loadFromUIClass(), and GPMG_PreferencesRootPanel::validate().

1.8.8