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

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

#include <GPMG_VertexWindow.h>

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

Public Member Functions

virtual void toDoAfterThisSetting ()
 
void setNode (GPM_Graph *pGraph, GPM_Graph *tGraph, const tFlag &graphType, GPM_Graph *graph, SP::GPM_Vertex item)
 set the node 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...
 
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_VertexWindow New ()
 create a visualization window More...
 

Protected Member Functions

 GPMG_VertexWindow ()
 build a GPMG_VertexWindow More...
 
virtual ~GPMG_VertexWindow (void)
 destroy a GPMG_VertexWindow 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 node properties

Constructor & Destructor Documentation

GPMG_VertexWindow::GPMG_VertexWindow ( )
protected

build a GPMG_VertexWindow

Referenced by New().

Here is the caller graph for this function:

GPMG_VertexWindow::~GPMG_VertexWindow ( void  )
protectedvirtual

destroy a GPMG_VertexWindow

Member Function Documentation

void GPMG_VertexWindow::componentClicked ( GUI_ActionComponent &  compo)
virtual
void GPMG_VertexWindow::createComponentsInLayout ( const int &  index,
GUI_VBoxLayout &  layout 
)
protectedvirtual

create the components in special rows at index

Implements GPMG_GraphElementWindow.

void GPMG_VertexWindow::enableComponents ( const tBoolean isReadOnly)
virtual

enable the components

Reimplemented from GPMG_GraphElementWindow.

References GPMG_GraphElementWindow::enableComponents(), GPMG_GraphElementWindow::getWorkingGraphElement(), and null.

Referenced by GPMG_MainWindow::showVertex().

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 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 GPMG_EdgeWindow::componentClicked(), and GPMG_EdgeWindow::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 componentClicked(), enableComponents(), updateTriggerVariables(), and 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_VertexWindow GPMG_VertexWindow::New ( )
inlinestatic

create a visualization window

References GPMG_VertexWindow().

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

Here is the call graph for this function:

Here is the caller graph for this function:

void GPMG_VertexWindow::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_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 GPMG_EdgeWindow::setEdge(), and setNode().

Here is the call graph for this function:

Here is the caller graph for this function:

void GPMG_VertexWindow::setNode ( GPM_Graph pGraph,
GPM_Graph tGraph,
const tFlag graphType,
GPM_Graph graph,
SP::GPM_Vertex  item 
)
inline

set the node properties

References GPMG_GraphElementWindow::setGraphElement().

Referenced by GPMG_MainWindow::showVertex().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void GPMG_VertexWindow::toDoAfterThisSetting ( )
inlinevirtual

Reimplemented from GPMG_GraphElementWindow.

References GPMG_GraphElementWindow::toDoAfterThisSetting().

Here is the call graph for this function:

void GPMG_VertexWindow::updateTriggerVariables ( const tString letter,
GUI_ComboBox &  cb 
)
protectedvirtual

update trigger variables

Reimplemented from GPMG_GraphElementWindow.

References GPM_GraphElement::getId(), GPMG_GraphElementWindow::getWorkingGraphElement(), null, CORE_Integer::toString(), and tString.

Here is the call graph for this function:

void GPMG_VertexWindow::updateValues ( )
virtual

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

Reimplemented from GPMG_GraphElementWindow.

References GPM_Vertex::getCoordinates(), GPM_Graph::getEdge(), GPM_Graph::getEdges(), GPMG_GraphElementWindow::getGraph(), GPM_Graph::getVertexIID(), GPMG_GraphElementWindow::getWorkingGraphElement(), null, tBoolean, CORE_Real::toString(), CORE_Integer::toString(), tString, 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: