|
C++ main module for gpm Package
1.0
|
This class is the root window of CCE Application. More...
#include <GPMG_MainWindow.h>


Public Member Functions | |
| virtual void | toDoAfterThisSetting () |
| GPMG_ShowGraphWindow * | getShowGraphWindow () |
| get the graph window More... | |
| GPMG_MovieGraphWindow * | getMovieGraphWindow () |
| get the movie graph window More... | |
| GPMG_RuleGraphWindow * | getRuleGraphsWindow () |
| get the rule graphs window More... | |
| GPMG_VertexWindow * | getVertexWindow () |
| get the node window More... | |
| GPMG_EdgeWindow * | getEdgeWindow () |
| get the edge window More... | |
| GPMG_EnvironmentWindow * | getEnvironmentWindow () |
| get the environment window More... | |
| GPMG_GraphStateWindow * | getGraphStateWindow () |
| get the graph state window More... | |
| GPMG_RulesWindow * | getRulesWindow () |
| get the rules window More... | |
| GPMG_RunWindow * | getRunWindow () |
| get the run window More... | |
| tBoolean | isGraphWindowShown () const |
| return true is the graph window is shown More... | |
| tBoolean | isMovieGraphWindowShown () const |
| return true is the movie graph window is shown More... | |
| tBoolean | isRuleGraphsWindowShown () const |
| return true is the rule graphs window is shown More... | |
| tBoolean | isRulesWindowShown () const |
| return true is the rules window is shown More... | |
| tBoolean | isRunWindowShown () const |
| return true is the run window is shown More... | |
| tBoolean | isVertexWindowShown () const |
| return true is the vertex window is shown More... | |
| tBoolean | isEdgeWindowShown () const |
| return true is the edge window is shown More... | |
| tBoolean | isEnvironmentWindowShown () const |
| return true is the environment window is shown More... | |
| tBoolean | isGraphStateWindowShown () const |
| return true is the graph state window is shown More... | |
| virtual void | load (const tString &file) |
| load a config window file More... | |
| void | showGraphWindow () |
| show the graph window More... | |
| void | showMovieGraphWindow () |
| show the movie graph window More... | |
| void | showRuleGraphsWindow (GPM_ModelFunction *rule) |
| show the rule graphs window More... | |
| void | showVertexWindow () |
| show the vertex window More... | |
| void | showEdgeWindow () |
| show the edge window More... | |
| void | showEnvironmentWindow () |
| show the environment window More... | |
| void | showGraphStateWindow () |
| show the graph state window More... | |
| void | showRulesWindow () |
| show the rules window More... | |
| void | showRunWindow () |
| show the run window More... | |
| void | projectEnvironmentHasChanged () |
| environment of the project has changed More... | |
| virtual void | showAllWindows (const tBoolean &resetLocation) |
| show all windows specialized in order to call updateValues method for the patient window name More... | |
| virtual void | modalWindowClosed (const tFlag &id, const CORE_Object *value) |
| method called when a modal is closed More... | |
| void | showVertex (GPM_Graph *pGraph, GPM_Graph *tGraph, const tFlag &graphType, GPM_Graph *graph, SP::GPM_Vertex vertex, const tBoolean &isReadOnly) |
| show the node in a window More... | |
| void | showEdge (GPM_Graph *pGraph, GPM_Graph *tGraph, const tFlag &graphType, GPM_Graph *graph, SP::GPM_Edge edge, const tBoolean &isReadOnly) |
| show the edge in a window More... | |
| void | showGraphElement (GPM_Graph *pGraph, GPM_Graph *tGraph, const tFlag &graphType, GPM_Graph *graph, SP::GPM_GraphElement elt, const tBoolean &isReadOnly) |
| show the edge in a window More... | |
Static Public Member Functions | |
| static SP::GPMG_MainWindow | New () |
| static SP::GPMG_MainWindow | New (const tString &name) |
| static SP::GPMG_MainWindow | NewInstanceFromFile (const tString &file) |
| create a GPMG_MainWindow from XML file More... | |
Protected Member Functions | |
| GPMG_MainWindow () | |
| virtual | ~GPMG_MainWindow (void) |
| destroy an object. More... | |
This class is the root window of CCE Application.
|
protected |
|
protectedvirtual |
destroy an object.
| GPMG_EdgeWindow * GPMG_MainWindow::getEdgeWindow | ( | ) |
get the edge window
References null, and showEdgeWindow().
Referenced by projectEnvironmentHasChanged(), and showEdge().


| GPMG_EnvironmentWindow * GPMG_MainWindow::getEnvironmentWindow | ( | ) |
get the environment window
References null, and showEnvironmentWindow().

| GPMG_GraphStateWindow * GPMG_MainWindow::getGraphStateWindow | ( | ) |
get the graph state window
References null, and showGraphStateWindow().

| GPMG_MovieGraphWindow * GPMG_MainWindow::getMovieGraphWindow | ( | ) |
get the movie graph window
References null, and showMovieGraphWindow().
Referenced by GPMG_ActionMovie::toDo().


| GPMG_RuleGraphWindow * GPMG_MainWindow::getRuleGraphsWindow | ( | ) |
get the rule graphs window
References null, and showRuleGraphsWindow().
Referenced by GPMG_PreferencesRootPanel::componentClicked(), projectEnvironmentHasChanged(), and GPMG_ActionRule::toDo().


| GPMG_RulesWindow * GPMG_MainWindow::getRulesWindow | ( | ) |
get the rules window
References null, and showRulesWindow().
Referenced by projectEnvironmentHasChanged().


| GPMG_RunWindow * GPMG_MainWindow::getRunWindow | ( | ) |
| GPMG_ShowGraphWindow * GPMG_MainWindow::getShowGraphWindow | ( | ) |
get the graph window
References null, and showGraphWindow().
Referenced by projectEnvironmentHasChanged(), showEdge(), showVertex(), and GPMG_ActionGraph::toDo().


| GPMG_VertexWindow * GPMG_MainWindow::getVertexWindow | ( | ) |
get the node window
References null, and showVertexWindow().
Referenced by projectEnvironmentHasChanged(), and showVertex().


| tBoolean GPMG_MainWindow::isEdgeWindowShown | ( | ) | const |
return true is the edge window is shown
References null.
Referenced by projectEnvironmentHasChanged().

| tBoolean GPMG_MainWindow::isEnvironmentWindowShown | ( | ) | const |
return true is the environment window is shown
References null.
| tBoolean GPMG_MainWindow::isGraphStateWindowShown | ( | ) | const |
return true is the graph state window is shown
References null.
| tBoolean GPMG_MainWindow::isGraphWindowShown | ( | ) | const |
return true is the graph window is shown
References null.
Referenced by projectEnvironmentHasChanged(), showEdge(), and showVertex().

| tBoolean GPMG_MainWindow::isMovieGraphWindowShown | ( | ) | const |
return true is the movie graph window is shown
References null.
| tBoolean GPMG_MainWindow::isRuleGraphsWindowShown | ( | ) | const |
return true is the rule graphs window is shown
References null.
Referenced by GPMG_PreferencesRootPanel::componentClicked(), projectEnvironmentHasChanged(), and GPMG_ActionRule::toDo().

| tBoolean GPMG_MainWindow::isRulesWindowShown | ( | ) | const |
return true is the rules window is shown
References null.
Referenced by projectEnvironmentHasChanged().

| tBoolean GPMG_MainWindow::isRunWindowShown | ( | ) | const |
return true is the run window is shown
References null.
| tBoolean GPMG_MainWindow::isVertexWindowShown | ( | ) | const |
return true is the vertex window is shown
References null.
Referenced by projectEnvironmentHasChanged().

|
virtual |
load a config window file
References GPMG_ClassFactory::New().

|
virtual |
method called when a modal is closed
| id | id of the component of the This window which launches the modal window |
| value | : value return when the modal window is closed |
|
inlinestatic |
Referenced by GPMG_ClassFactory::NewInstance(), NewInstanceFromFile(), and GPMG_Application::NewRootWindowInstance().

|
inlinestatic |
|
static |
create a GPMG_MainWindow from XML file
References GPMG_ClassFactory::New(), and New().

| void GPMG_MainWindow::projectEnvironmentHasChanged | ( | ) |
environment of the project has changed
References getEdgeWindow(), getRuleGraphsWindow(), getRulesWindow(), getShowGraphWindow(), getVertexWindow(), isEdgeWindowShown(), isGraphWindowShown(), isRuleGraphsWindowShown(), isRulesWindowShown(), isVertexWindowShown(), null, GPMG_RulesWindow::setProject(), GPMG_ShowGraphWindow::updateEnvironments(), GPMG_RuleGraphWindow::updateEnvironments(), GPMG_EdgeWindow::updateValues(), and GPMG_VertexWindow::updateValues().

|
virtual |
show all windows specialized in order to call updateValues method for the patient window name
References GPMG_Project::getInitGraph(), GPMG_Project::getRules(), null, GPMG_GraphStateWindow::setProject(), GPMG_RunWindow::setProject(), GPMG_EnvironmentWindow::setProject(), GPMG_RulesWindow::setProject(), GPMG_ShowGraphWindow::showGraph(), GPMG_MovieGraphWindow::showGraphFiles(), and GPMG_RuleGraphWindow::showRule().

| void GPMG_MainWindow::showEdge | ( | GPM_Graph * | pGraph, |
| GPM_Graph * | tGraph, | ||
| const tFlag & | graphType, | ||
| GPM_Graph * | graph, | ||
| SP::GPM_Edge | edge, | ||
| const tBoolean & | isReadOnly | ||
| ) |
show the edge in a window
References GPMG_EdgeWindow::enableComponents(), getEdgeWindow(), getShowGraphWindow(), GPMG_Project::INIT_GRAPH, isGraphWindowShown(), GPMG_GraphElementWindow::isShown(), null, GPMG_ShowGraphWindow::resetSelectedEdge(), GPMG_EdgeWindow::setEdge(), and GPMG_ShowGraphWindow::setSelectedEdge().
Referenced by GPMG_RuleGraphDrawPanel::objectIsClickedOn(), GPMG_DrawPanel::objectIsClickedOn(), GPMG_RuleGraphDrawPanel::popupMenuClicked(), GPMG_DrawPanel::popupMenuClicked(), and showGraphElement().


| void GPMG_MainWindow::showEdgeWindow | ( | ) |
show the edge window
References GPMG_EdgeWindow::New(), and null.
Referenced by getEdgeWindow().


| void GPMG_MainWindow::showEnvironmentWindow | ( | ) |
show the environment window
References GPMG_EnvironmentWindow::New(), null, and GPMG_EnvironmentWindow::setProject().
Referenced by getEnvironmentWindow(), and GPMG_ActionEnvironment::toDo().


|
inline |
show the edge in a window
References null, showEdge(), and showVertex().
Referenced by GPMG_GraphElementWindow::componentClicked().


| void GPMG_MainWindow::showGraphStateWindow | ( | ) |
show the graph state window
References GPMG_GraphStateWindow::New(), null, and GPMG_GraphStateWindow::setProject().
Referenced by getGraphStateWindow(), and GPMG_ActionEnvironment::toDo().


| void GPMG_MainWindow::showGraphWindow | ( | ) |
show the graph window
References GPMG_Project::getInitGraph(), GPMG_ShowGraphWindow::New(), null, and GPMG_ShowGraphWindow::showGraph().
Referenced by getShowGraphWindow(), and GPMG_ActionShowGraphWindow::toDo().


| void GPMG_MainWindow::showMovieGraphWindow | ( | ) |
show the movie graph window
References GPMG_MovieGraphWindow::New(), null, and GPMG_MovieGraphWindow::showGraphFiles().
Referenced by getMovieGraphWindow(), and GPMG_ActionRun::toDo().


| void GPMG_MainWindow::showRuleGraphsWindow | ( | GPM_ModelFunction * | rule | ) |
show the rule graphs window
References GPMG_RuleGraphWindow::New(), null, and GPMG_RuleGraphWindow::showRule().
Referenced by getRuleGraphsWindow().


| void GPMG_MainWindow::showRulesWindow | ( | ) |
show the rules window
References GPMG_RulesWindow::New(), null, and GPMG_RulesWindow::setProject().
Referenced by getRulesWindow(), and GPMG_ActionRule::toDo().


| void GPMG_MainWindow::showRunWindow | ( | ) |
show the run window
References GPMG_RunWindow::New(), null, and GPMG_RunWindow::setProject().
Referenced by getRunWindow(), and GPMG_ActionRun::toDo().


| void GPMG_MainWindow::showVertex | ( | GPM_Graph * | pGraph, |
| GPM_Graph * | tGraph, | ||
| const tFlag & | graphType, | ||
| GPM_Graph * | graph, | ||
| SP::GPM_Vertex | vertex, | ||
| const tBoolean & | isReadOnly | ||
| ) |
show the node in a window
References GPMG_VertexWindow::enableComponents(), getShowGraphWindow(), getVertexWindow(), GPMG_Project::INIT_GRAPH, isGraphWindowShown(), GPMG_GraphElementWindow::isShown(), null, GPMG_ShowGraphWindow::resetSelectedVertex(), GPMG_VertexWindow::setNode(), and GPMG_ShowGraphWindow::setSelectedVertex().
Referenced by GPMG_RuleGraphDrawPanel::objectIsClickedOn(), GPMG_DrawPanel::objectIsClickedOn(), GPMG_RuleGraphDrawPanel::popupMenuClicked(), GPMG_DrawPanel::popupMenuClicked(), and showGraphElement().


| void GPMG_MainWindow::showVertexWindow | ( | ) |
show the vertex window
References GPMG_VertexWindow::New(), and null.
Referenced by getVertexWindow().


|
inlinevirtual |
1.8.8