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

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

#include <GPMG_ShowGraphPanel.h>

Inheritance diagram for GPMG_ShowGraphPanel:
Inheritance graph
[legend]
Collaboration diagram for GPMG_ShowGraphPanel:
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 showGraph (GPM_ModelGraph &graph, const tBoolean &isForce)
 show the rule 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_ShowGraphPanel New ()
 create a root panel More...
 

Protected Member Functions

 GPMG_ShowGraphPanel ()
 build a GPMG_ShowGraphPanel More...
 
virtual ~GPMG_ShowGraphPanel (void)
 destroy a GPMG_ShowGraphPanel 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_ShowGraphPanel::GPMG_ShowGraphPanel ( )
protected

build a GPMG_ShowGraphPanel

Referenced by New().

Here is the caller graph for this function:

GPMG_ShowGraphPanel::~GPMG_ShowGraphPanel ( void  )
protectedvirtual

Member Function Documentation

void GPMG_ShowGraphPanel::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_RuleGraphPanel::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_ShowGraphPanel::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_ShowGraphPanel GPMG_ShowGraphPanel::New ( )
inlinestatic

create a root panel

References GPMG_ShowGraphPanel().

Here is the call graph for this function:

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

create the graph draw panel

Implements GPMG_GraphPanel.

References GPMG_ShowGraphDrawPanel::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_ShowGraphPanel::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_ShowGraphPanel::showGraph ( GPM_ModelGraph graph,
const tBoolean isForce 
)

show the rule

References GPMG_GraphPanel::getDrawPanel(), null, GPMG_ShowGraphDrawPanel::showGraph(), GPMG_GraphPanel::updateEnvironments(), and updateValues().

Referenced by GPMG_ShowGraphWindow::showGraph().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void GPMG_ShowGraphPanel::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_ShowGraphPanel::updateValues ( )
virtual

method called for updating values of the panel

Reimplemented from GPMG_GraphPanel.

References GPMG_GraphPanel::updateValues().

Referenced by showGraph().

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: