C++ main module for gpm Package  1.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
GPMG_Application Class Reference

this class is the main class of the Dynsys GUI Interface More...

#include <GPMG_Application.h>

Inheritance diagram for GPMG_Application:
Inheritance graph
[legend]
Collaboration diagram for GPMG_Application:
Collaboration graph
[legend]

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...
 

Detailed Description

this class is the main class of the Dynsys GUI Interface

Constructor & Destructor Documentation

GPMG_Application::GPMG_Application ( int &  argc,
char *  argv[],
SP::GUI_EngineClassFactory  cf 
)
protected

build a GPMG_Application

References CORE_Color::New(), and tString.

Referenced by New().

Here is the call graph for this function:

Here is the caller graph for this function:

GPMG_Application::~GPMG_Application ( void  )
protectedvirtual

destroy a GPMG_Application

Member Function Documentation

void GPMG_Application::getRuleGraphColors ( tString patternColor,
tString transformerColor,
tString deleteColor,
tString keepColor,
tString connectionColor 
) const
inline

get the colors of rules graph

Referenced by GPMG_PreferencesRootPanel::componentClicked(), GPMG_RuleGraphDrawPanel::paintElements(), saveToUIClass(), and GPMG_PreferencesRootPanel::updateValues().

Here is the caller graph for this function:

void GPMG_Application::loadFromUIClass ( const UI_Class &  mclass)
virtual

how to load the object from a meta model class

References setRuleGraphColors(), and tString.

Here is the call graph for this function:

void GPMG_Application::loadModelFile ( const tString projectFile)
virtual

load the model

References CORE_IO::isFile(), GPMG_ClassFactory::New(), and GPMG_Project::New().

Here is the call graph for this function:

static SP::GPMG_Application GPMG_Application::New ( int &  argc,
char *  argv[],
SP::GUI_EngineClassFactory  cf 
)
inlinestatic

References GPMG_Application().

Referenced by executeProgram().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual SP::GUI_ClassFactory GPMG_Application::newClassFactoryInstance ( ) const
inlinevirtual

return the loading class factory

Must be specialized for all packages depending on gui

References GPMG_ClassFactory::New().

Here is the call graph for this function:

virtual SP::GUI_RootWindow GPMG_Application::NewRootWindowInstance ( ) const
inlinevirtual

create a root window instance

References GPMG_MainWindow::New().

Here is the call graph for this function:

void GPMG_Application::run ( )
virtual

initialize the application

References run().

Here is the call graph for this function:

tString GPMG_Application::saveModelFile ( const tString projectFile)
virtual

save the model

References GPMG_Project::saveData(), and tString.

Here is the call graph for this function:

void GPMG_Application::saveToUIClass ( UI_Class &  mclass) const
virtual

how to save the object to a meta model class

References getRuleGraphColors(), and tString.

Here is the call graph for this function:

void GPMG_Application::setRuleGraphColors ( const tString patternColor,
const tString transformerColor,
const tString deleteColor,
const tString keepColor,
const tString connectionsColor 
)
inline

set the colors of rules graph

Referenced by GPMG_PreferencesRootPanel::componentClicked(), loadFromUIClass(), and GPMG_PreferencesRootPanel::validate().

Here is the caller graph for this function:


The documentation for this class was generated from the following files: