C++ main module for gpm Package  1.0
Public Member Functions | Protected Member Functions | List of all members
GPMG_GraphPanel Class Referenceabstract

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

#include <GPMG_GraphPanel.h>

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

Public Member Functions

virtual void toDoAfterThisSetting ()
 
virtual SP::GPMG_DrawPanel NewGraphDrawPanel () const =0
 create the draw panel 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...
 
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...
 

Protected Member Functions

 GPMG_GraphPanel ()
 build a GPMG_GraphPanel More...
 
virtual ~GPMG_GraphPanel (void)
 destroy a GPMG_GraphPanel More...
 
virtual void initComponents (const tBoolean &isReadOnlyShown, const tBoolean &isGraphElementShownEnabled)
 init the components More...
 

Detailed Description

this class describes the root panel of the graph window

Constructor & Destructor Documentation

GPMG_GraphPanel::GPMG_GraphPanel ( )
protected

build a GPMG_GraphPanel

GPMG_GraphPanel::~GPMG_GraphPanel ( void  )
protectedvirtual

destroy a GPMG_GraphPanel

Member Function Documentation

void GPMG_GraphPanel::componentClicked ( GUI_ActionComponent &  compo)
virtual

method called when a panel's component is clicked on

Reimplemented in GPMG_RuleGraphPanel, GPMG_ShowGraphPanel, and GPMG_MovieGraphPanel.

References CORE_Integer::parseInt(), CORE_String::string2Boolean(), tFlag, and tString.

Referenced by GPMG_MovieGraphPanel::componentClicked(), GPMG_ShowGraphPanel::componentClicked(), and GPMG_RuleGraphPanel::componentClicked().

Here is the call graph for this function:

Here is the caller graph for this function:

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

the draw panel

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

init the components

References NewGraphDrawPanel().

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

Here is the call graph for this function:

Here is the caller graph for this function:

tBoolean GPMG_GraphPanel::isReadOnly ( ) const

get if the graph is read only

References null.

Referenced by setIsReadOnly().

Here is the caller graph for this function:

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

how to load the object from a Meta Model class

Reimplemented in GPMG_RuleGraphPanel, GPMG_ShowGraphPanel, and GPMG_MovieGraphPanel.

References getDrawPanel(), GPMG_DrawPanel::loadFromUIClass(), null, and tString.

Referenced by GPMG_MovieGraphPanel::loadFromUIClass(), GPMG_ShowGraphPanel::loadFromUIClass(), and GPMG_RuleGraphPanel::loadFromUIClass().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual SP::GPMG_DrawPanel GPMG_GraphPanel::NewGraphDrawPanel ( ) const
pure virtual

create the draw panel

Implemented in GPMG_MovieGraphPanel, GPMG_ShowGraphPanel, and GPMG_RuleGraphPanel.

Referenced by initComponents().

Here is the caller graph for this function:

void GPMG_GraphPanel::resetSelectedEdge ( )
inline

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

reset the selected vertex

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

Here is the caller graph for this function:

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

how to save the object from a mate model class

Reimplemented in GPMG_RuleGraphPanel, GPMG_ShowGraphPanel, and GPMG_MovieGraphPanel.

References getDrawPanel(), null, and GPMG_DrawPanel::saveToUIClass().

Referenced by GPMG_MovieGraphPanel::saveToUIClass(), GPMG_ShowGraphPanel::saveToUIClass(), and GPMG_RuleGraphPanel::saveToUIClass().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPMG_GraphPanel::setIsReadOnly ( const tBoolean isReadOnly)

set true if the graph is read only

References 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)
inline

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)
inline

set the selected vertex

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

Here is the caller graph for this function:

virtual void GPMG_GraphPanel::toDoAfterThisSetting ( )
inlinevirtual
void GPMG_GraphPanel::updateEnvironments ( const GPMG_Project project)
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 
)

update the environment from a list

References GPM_Variable::STRING, and tString.

void GPMG_GraphPanel::updateValues ( )
virtual

method called for updating values of the panel

Reimplemented in GPMG_RuleGraphPanel, GPMG_ShowGraphPanel, and GPMG_MovieGraphPanel.

Referenced by GPMG_MovieGraphPanel::updateValues(), GPMG_ShowGraphPanel::updateValues(), and GPMG_RuleGraphPanel::updateValues().

Here is the caller graph for this function:


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