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

this class describes the root panel of the rule graph window More...

#include <GPMG_RuleGraphPanel.h>

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

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_DrawPanelgetDrawPanel () const
 
GPMG_DrawPanelgetDrawPanel ()
 
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...
 

Detailed Description

this class describes the root panel of the rule graph window

Constructor & Destructor Documentation

GPMG_RuleGraphPanel::GPMG_RuleGraphPanel ( )
protected

build a GPMG_RuleGraphPanel

Referenced by New().

Here is the caller graph for this function:

GPMG_RuleGraphPanel::~GPMG_RuleGraphPanel ( void  )
protectedvirtual

Member Function Documentation

void GPMG_RuleGraphPanel::clearGraphs ( )

clear the graphs of the rules

References GPMG_RuleGraphDrawPanel::clearGraphs(), GPMG_GraphPanel::getDrawPanel(), and null.

Referenced by GPMG_RuleGraphWindow::clearGraphs().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPMG_RuleGraphPanel::componentClicked ( GUI_ActionComponent &  compo)
virtual

method called when a panel's component is clicked on

Reimplemented from GPMG_GraphPanel.

References GPMG_GraphPanel::componentClicked().

Here is the call graph for this function:

const GPMG_DrawPanel* GPMG_GraphPanel::getDrawPanel ( ) const
inlineinherited
GPMG_DrawPanel* GPMG_GraphPanel::getDrawPanel ( )
inlineinherited

the draw panel

void GPMG_GraphPanel::initComponents ( const tBoolean isReadOnlyShown,
const tBoolean isGraphElementShownEnabled 
)
protectedvirtualinherited

init the components

References GPMG_GraphPanel::NewGraphDrawPanel().

Referenced by GPMG_MovieGraphPanel::initComponents(), GPMG_ShowGraphPanel::toDoAfterThisSetting(), and toDoAfterThisSetting().

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPMG_GraphPanel::isReadOnly ( ) const
inherited

get if the graph is read only

References null.

Referenced by GPMG_GraphPanel::setIsReadOnly().

Here is the caller graph for this function:

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

how to load the object from a Meta Model class

Reimplemented from GPMG_GraphPanel.

References GPMG_GraphPanel::loadFromUIClass().

Here is the call graph for this function:

static SP::GPMG_RuleGraphPanel GPMG_RuleGraphPanel::New ( )
inlinestatic

create a root panel

References GPMG_RuleGraphPanel().

Here is the call graph for this function:

virtual SP::GPMG_DrawPanel GPMG_RuleGraphPanel::NewGraphDrawPanel ( ) const
inlinevirtual

create the graph draw panel

Implements GPMG_GraphPanel.

References GPMG_RuleGraphDrawPanel::New().

Here is the call graph for this function:

void GPMG_GraphPanel::resetSelectedEdge ( )
inlineinherited

reset the selected edge

Referenced by GPMG_ShowGraphWindow::resetSelectedEdge(), and GPMG_RuleGraphWindow::resetSelectedEdge().

Here is the caller graph for this function:

void GPMG_GraphPanel::resetSelectedVertex ( )
inlineinherited

reset the selected vertex

Referenced by GPMG_ShowGraphWindow::resetSelectedVertex(), and GPMG_RuleGraphWindow::resetSelectedVertex().

Here is the caller graph for this function:

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

how to save the object from a mate model class

Reimplemented from GPMG_GraphPanel.

References GPMG_GraphPanel::saveToUIClass().

Here is the call graph for this function:

void GPMG_GraphPanel::setIsReadOnly ( const tBoolean isReadOnly)
inherited

set true if the graph is read only

References GPMG_GraphPanel::isReadOnly(), and null.

Referenced by GPMG_DrawPanel::setIsMovingEnabled().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPMG_GraphPanel::setSelectedEdge ( SP::GPM_Edge  obj)
inlineinherited

set the selected edge

Referenced by GPMG_ShowGraphWindow::setSelectedEdge(), and GPMG_RuleGraphWindow::setSelectedEdge().

Here is the caller graph for this function:

void GPMG_GraphPanel::setSelectedVertex ( SP::GPM_Vertex  obj)
inlineinherited

set the selected vertex

Referenced by GPMG_ShowGraphWindow::setSelectedVertex(), and GPMG_RuleGraphWindow::setSelectedVertex().

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void GPMG_RuleGraphPanel::toDoAfterThisSetting ( )
inlinevirtual

method called after this setting

Reimplemented from GPMG_GraphPanel.

References GPMG_GraphPanel::initComponents(), and GPMG_GraphPanel::toDoAfterThisSetting().

Here is the call graph for this function:

void GPMG_GraphPanel::updateEnvironments ( const GPMG_Project project)
inherited
void GPMG_GraphPanel::updateEnvironments ( const map< tString, SP::GPM_Variable > &  nodeEnv,
const map< tString, SP::GPM_Variable > &  portEnv,
const map< tString, SP::GPM_Variable > &  edgeEnv 
)
inherited

update the environment from a list

References GPM_Variable::STRING, and tString.

void GPMG_RuleGraphPanel::updateValues ( )
virtual

method called for updating values of the panel

Reimplemented from GPMG_GraphPanel.

References GPMG_GraphPanel::updateValues().

Referenced by showRule().

Here is the call graph for this function:

Here is the caller graph for this function:


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