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

this class describes a window to display edge properties More...

#include <GPMG_EdgeWindow.h>

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

Public Member Functions

void setEdge (GPM_Graph *pGraph, GPM_Graph *tGraph, const tFlag &graphType, GPM_Graph *graph, SP::GPM_Edge item)
 set the edge properties More...
 
virtual void componentClicked (GUI_ActionComponent &compo)
 method called when a component are clicked on More...
 
virtual void enableComponents (const tBoolean &isReadOnly)
 enable the components More...
 
virtual void updateValues ()
 update the components values put the values of model object to gui components More...
 
virtual void toDoAfterThisSetting ()
 
void setGraphElement (GPM_Graph *pGraph, GPM_Graph *tGraph, const tFlag &graphType, GPM_Graph *graph, SP::GPM_GraphElement item)
 set the graph element properties More...
 
SP::GPM_GraphElement getWorkingGraphElement ()
 get the working graph element attached to the window More...
 
SPC::GPM_GraphElement getGraphElement () const
 get the graph element attached to the window More...
 
tFlag getGraphType () const
 get the graph type More...
 
GPM_GraphgetGraph () const
 get the graph More...
 
GPM_GraphgetPatternGraph () const
 get the pattern graph More...
 
GPM_GraphgetTransformerGraph () const
 get the graph More...
 
tBoolean isReadOnly () const
 return true if the graph element is read only More...
 
tBoolean isShown () const
 return true if the graph element has to be shown 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...
 
virtual void modalWindowClosed (const tFlag &id, const CORE_Object *value)
 method called when a modal window is closed More...
 

Static Public Member Functions

static SP::GPMG_EdgeWindow New ()
 create a visualization window More...
 

Protected Member Functions

 GPMG_EdgeWindow ()
 build a GPMG_EdgeWindow More...
 
virtual ~GPMG_EdgeWindow (void)
 destroy a GPMG_EdgeWindow More...
 
virtual void createComponentsInLayout (const int &index, GUI_VBoxLayout &layout)
 create the components in special rows at index More...
 
virtual void resetValues ()
 reset values More...
 
virtual void updateTriggerVariables (const tString &letter, GUI_ComboBox &cb)
 update trigger variables More...
 

Detailed Description

this class describes a window to display edge properties

Constructor & Destructor Documentation

GPMG_EdgeWindow::GPMG_EdgeWindow ( )
protected

build a GPMG_EdgeWindow

Referenced by New().

Here is the caller graph for this function:

GPMG_EdgeWindow::~GPMG_EdgeWindow ( void  )
protectedvirtual

destroy a GPMG_EdgeWindow

Member Function Documentation

void GPMG_EdgeWindow::componentClicked ( GUI_ActionComponent &  compo)
virtual

method called when a component are clicked on

Reimplemented from GPMG_GraphElementWindow.

References GPMG_GraphElementWindow::componentClicked(), GPMG_GraphElementWindow::getGraphElement(), null, tFlag, and tString.

Here is the call graph for this function:

void GPMG_EdgeWindow::createComponentsInLayout ( const int &  index,
GUI_VBoxLayout &  layout 
)
protectedvirtual

create the components in special rows at index

Implements GPMG_GraphElementWindow.

void GPMG_EdgeWindow::enableComponents ( const tBoolean isReadOnly)
virtual

enable the components

Reimplemented from GPMG_GraphElementWindow.

References GPMG_GraphElementWindow::enableComponents().

Referenced by GPMG_MainWindow::showEdge().

Here is the call graph for this function:

Here is the caller graph for this function:

GPM_Graph* GPMG_GraphElementWindow::getGraph ( ) const
inlineinherited

get the graph

Referenced by GPMG_GraphElementWindow::componentClicked(), and GPMG_VertexWindow::updateValues().

Here is the caller graph for this function:

SPC::GPM_GraphElement GPMG_GraphElementWindow::getGraphElement ( ) const
inlineinherited

get the graph element attached to the window

Referenced by componentClicked(), and updateValues().

Here is the caller graph for this function:

tFlag GPMG_GraphElementWindow::getGraphType ( ) const
inlineinherited

get the graph type

Referenced by GPMG_GraphElementWindow::componentClicked().

Here is the caller graph for this function:

GPM_Graph* GPMG_GraphElementWindow::getPatternGraph ( ) const
inlineinherited

get the pattern graph

Referenced by GPMG_GraphElementWindow::componentClicked().

Here is the caller graph for this function:

GPM_Graph* GPMG_GraphElementWindow::getTransformerGraph ( ) const
inlineinherited

get the graph

Referenced by GPMG_GraphElementWindow::componentClicked().

Here is the caller graph for this function:

SP::GPM_GraphElement GPMG_GraphElementWindow::getWorkingGraphElement ( )
inlineinherited

get the working graph element attached to the window

Referenced by GPMG_VertexWindow::componentClicked(), GPMG_VertexWindow::enableComponents(), GPMG_VertexWindow::updateTriggerVariables(), and GPMG_VertexWindow::updateValues().

Here is the caller graph for this function:

tBoolean GPMG_GraphElementWindow::isReadOnly ( ) const
inherited

return true if the graph element is read only

References null.

Referenced by GPMG_GraphElementWindow::componentClicked(), and GPMG_GraphElementWindow::setGraphElement().

Here is the caller graph for this function:

tBoolean GPMG_GraphElementWindow::isShown ( ) const
inherited

return true if the graph element has to be shown

References null.

Referenced by GPMG_MainWindow::showEdge(), and GPMG_MainWindow::showVertex().

Here is the caller graph for this function:

void GPMG_GraphElementWindow::loadFromUIClass ( const UI_Class &  mclass)
virtualinherited

how to load the object from a Meta Model class

void GPMG_GraphElementWindow::modalWindowClosed ( const tFlag id,
const CORE_Object value 
)
virtualinherited

method called when a modal window is closed

static SP::GPMG_EdgeWindow GPMG_EdgeWindow::New ( )
inlinestatic

create a visualization window

References GPMG_EdgeWindow().

Referenced by GPMG_ClassFactory::NewInstance(), and GPMG_MainWindow::showEdgeWindow().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPMG_EdgeWindow::resetValues ( )
protectedvirtual

reset values

Reimplemented from GPMG_GraphElementWindow.

References null, and GPMG_GraphElementWindow::resetValues().

Here is the call graph for this function:

void GPMG_GraphElementWindow::saveToUIClass ( UI_Class &  mclass) const
virtualinherited

how to save the object from a mate model class

void GPMG_EdgeWindow::setEdge ( GPM_Graph pGraph,
GPM_Graph tGraph,
const tFlag graphType,
GPM_Graph graph,
SP::GPM_Edge  item 
)
inline

set the edge properties

References GPMG_GraphElementWindow::setGraphElement().

Referenced by GPMG_MainWindow::showEdge().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPMG_GraphElementWindow::setGraphElement ( GPM_Graph pGraph,
GPM_Graph tGraph,
const tFlag graphType,
GPM_Graph graph,
SP::GPM_GraphElement  item 
)
inherited

set the graph element properties

References CORE_Object::getSharedPointer(), GPMG_GraphElementWindow::isReadOnly(), null, and GPMG_GraphElementWindow::updateValues().

Referenced by setEdge(), and GPMG_VertexWindow::setNode().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void GPMG_GraphElementWindow::toDoAfterThisSetting ( )
inlinevirtualinherited

Reimplemented in GPMG_VertexWindow.

Referenced by GPMG_VertexWindow::toDoAfterThisSetting().

Here is the caller graph for this function:

virtual void GPMG_GraphElementWindow::updateTriggerVariables ( const tString letter,
GUI_ComboBox &  cb 
)
inlineprotectedvirtualinherited

update trigger variables

Reimplemented in GPMG_VertexWindow.

Referenced by GPMG_GraphElementWindow::updateValues().

Here is the caller graph for this function:

void GPMG_EdgeWindow::updateValues ( )
virtual

update the components values put the values of model object to gui components

Reimplemented from GPMG_GraphElementWindow.

References GPMG_GraphElementWindow::getGraphElement(), null, CORE_Integer::toString(), and GPMG_GraphElementWindow::updateValues().

Referenced by GPMG_MainWindow::projectEnvironmentHasChanged().

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: