C++ main module for gpm Package
1.0
|
this class describes the root panel of the rule graph window More...
#include <GPMG_RuleGraphPanel.h>
Public Member Functions | |
virtual void | toDoAfterThisSetting () |
method called after this setting More... | |
virtual SP::GPMG_DrawPanel | NewGraphDrawPanel () const |
create the graph draw panel More... | |
void | showRule (GPM_ModelFunction &rule) |
show the rule More... | |
void | clearGraphs () |
clear the graphs of the rules More... | |
virtual void | updateValues () |
method called for updating values of the panel More... | |
virtual void | componentClicked (GUI_ActionComponent &compo) |
method called when a panel's component is clicked on 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 from a mate model class More... | |
void | setIsReadOnly (const tBoolean &isReadOnly) |
set true if the graph is read only More... | |
void | setSelectedVertex (SP::GPM_Vertex obj) |
set the selected vertex More... | |
void | resetSelectedVertex () |
reset the selected vertex More... | |
void | setSelectedEdge (SP::GPM_Edge obj) |
set the selected edge More... | |
void | resetSelectedEdge () |
reset the selected edge More... | |
tBoolean | isReadOnly () const |
get if the graph is read only More... | |
const GPMG_DrawPanel * | getDrawPanel () const |
GPMG_DrawPanel * | getDrawPanel () |
void | updateEnvironments (const GPMG_Project *project) |
update the environments from a graph More... | |
void | updateEnvironments (const map< tString, SP::GPM_Variable > &nodeEnv, const map< tString, SP::GPM_Variable > &portEnv, const map< tString, SP::GPM_Variable > &edgeEnv) |
update the environment from a list More... | |
Static Public Member Functions | |
static SP::GPMG_RuleGraphPanel | New () |
create a root panel More... | |
Protected Member Functions | |
GPMG_RuleGraphPanel () | |
build a GPMG_RuleGraphPanel More... | |
virtual | ~GPMG_RuleGraphPanel (void) |
destroy a GPMG_RuleGraphPanel More... | |
virtual void | initComponents (const tBoolean &isReadOnlyShown, const tBoolean &isGraphElementShownEnabled) |
init the components More... | |
this class describes the root panel of the rule graph window
|
protected |
|
protectedvirtual |
destroy a GPMG_RuleGraphPanel
void GPMG_RuleGraphPanel::clearGraphs | ( | ) |
clear the graphs of the rules
References GPMG_RuleGraphDrawPanel::clearGraphs(), GPMG_GraphPanel::getDrawPanel(), and null.
Referenced by GPMG_RuleGraphWindow::clearGraphs().
|
virtual |
method called when a panel's component is clicked on
Reimplemented from GPMG_GraphPanel.
References GPMG_GraphPanel::componentClicked().
|
inlineinherited |
the draw panel
Referenced by clearGraphs(), GPMG_MovieGraphPanel::componentClicked(), GPMG_MovieGraphWindow::getDrawPanel(), GPMG_ShowGraphWindow::getDrawPanel(), GPMG_RuleGraphWindow::getDrawPanel(), GPMG_GraphPanel::loadFromUIClass(), GPMG_GraphPanel::saveToUIClass(), GPMG_ShowGraphPanel::showGraph(), and showRule().
|
inlineinherited |
the draw panel
|
protectedvirtualinherited |
init the components
References GPMG_GraphPanel::NewGraphDrawPanel().
Referenced by GPMG_MovieGraphPanel::initComponents(), GPMG_ShowGraphPanel::toDoAfterThisSetting(), and toDoAfterThisSetting().
|
inherited |
get if the graph is read only
References null.
Referenced by GPMG_GraphPanel::setIsReadOnly().
|
virtual |
how to load the object from a Meta Model class
Reimplemented from GPMG_GraphPanel.
References GPMG_GraphPanel::loadFromUIClass().
|
inlinestatic |
|
inlinevirtual |
create the graph draw panel
Implements GPMG_GraphPanel.
References GPMG_RuleGraphDrawPanel::New().
|
inlineinherited |
reset the selected edge
Referenced by GPMG_ShowGraphWindow::resetSelectedEdge(), and GPMG_RuleGraphWindow::resetSelectedEdge().
|
inlineinherited |
reset the selected vertex
Referenced by GPMG_ShowGraphWindow::resetSelectedVertex(), and GPMG_RuleGraphWindow::resetSelectedVertex().
|
virtual |
how to save the object from a mate model class
Reimplemented from GPMG_GraphPanel.
References GPMG_GraphPanel::saveToUIClass().
|
inherited |
set true if the graph is read only
References GPMG_GraphPanel::isReadOnly(), and null.
Referenced by GPMG_DrawPanel::setIsMovingEnabled().
|
inlineinherited |
set the selected edge
Referenced by GPMG_ShowGraphWindow::setSelectedEdge(), and GPMG_RuleGraphWindow::setSelectedEdge().
|
inlineinherited |
set the selected vertex
Referenced by GPMG_ShowGraphWindow::setSelectedVertex(), and GPMG_RuleGraphWindow::setSelectedVertex().
void GPMG_RuleGraphPanel::showRule | ( | GPM_ModelFunction & | rule | ) |
show the rule
References GPMG_GraphPanel::getDrawPanel(), null, GPMG_RuleGraphDrawPanel::showRule(), GPMG_GraphPanel::updateEnvironments(), and updateValues().
Referenced by GPMG_RuleGraphWindow::showRule().
|
inlinevirtual |
method called after this setting
Reimplemented from GPMG_GraphPanel.
References GPMG_GraphPanel::initComponents(), and GPMG_GraphPanel::toDoAfterThisSetting().
|
inherited |
update the environments from a graph
References GPMG_Project::EDGE_ENVIRONMENT, GPMG_Project::getEnvironment(), GPMG_Project::NODE_ENVIRONMENT, null, and GPMG_Project::PORT_ENVIRONMENT.
Referenced by GPMG_ShowGraphPanel::showGraph(), GPMG_MovieGraphWindow::showGraphFiles(), showRule(), GPMG_ShowGraphWindow::updateEnvironments(), and GPMG_RuleGraphWindow::updateEnvironments().
|
inherited |
update the environment from a list
References GPM_Variable::STRING, and tString.
|
virtual |
method called for updating values of the panel
Reimplemented from GPMG_GraphPanel.
References GPMG_GraphPanel::updateValues().
Referenced by showRule().