1 #ifndef GPMG_EdgeWindow_H
2 #define GPMG_EdgeWindow_H
24 static const tFlag SOURCE,TARGET;
57 static inline SP::GPMG_EdgeWindow
New() {
59 GPMG_EdgeWindow::Delete());
105 void showVertex(SP::GPM_Vertex vertex);
static SP::GPMG_EdgeWindow New()
create a visualization window
Definition: GPMG_EdgeWindow.h:57
virtual void createComponentsInLayout(const int &index, GUI_VBoxLayout &layout)
create the components in special rows at index
Definition: GPMG_EdgeWindow.cpp:33
boost::adjacency_list< boost::listS, boost::vecS, boost::undirectedS, VertexProperties, EdgeProperties > tGraph
Definition: GPM_Types.h:36
void setEdge(GPM_Graph *pGraph, GPM_Graph *tGraph, const tFlag &graphType, GPM_Graph *graph, SP::GPM_Edge item)
set the edge properties
Definition: GPMG_EdgeWindow.h:68
#define tBoolean
Definition: types.h:35
virtual void resetValues()
reset values
Definition: GPMG_EdgeWindow.cpp:111
void setGraphElement(GPM_Graph *pGraph, GPM_Graph *tGraph, const tFlag &graphType, GPM_Graph *graph, SP::GPM_GraphElement item)
set the graph element properties
Definition: GPMG_GraphElementWindow.cpp:48
this class describes a window to display graph element properties
Definition: GPMG_GraphElementWindow.h:21
DEFINE_SPTR(GPMG_EdgeWindow)
virtual void componentClicked(GUI_ActionComponent &compo)
method called when a component are clicked on
Definition: GPMG_EdgeWindow.cpp:78
virtual void updateValues()
update the components values put the values of model object to gui components
Definition: GPMG_EdgeWindow.cpp:130
virtual ~GPMG_EdgeWindow(void)
destroy a GPMG_EdgeWindow
Definition: GPMG_EdgeWindow.cpp:28
virtual void enableComponents(const tBoolean &isReadOnly)
enable the components
Definition: GPMG_EdgeWindow.cpp:161
This class describes a graph which is a list of nodes & ports.
Definition: GPM_Graph.h:19
this class describes a window to display edge properties
Definition: GPMG_EdgeWindow.h:17
tBoolean isReadOnly() const
return true if the graph element is read only
Definition: GPMG_GraphElementWindow.cpp:824
GPMG_EdgeWindow()
build a GPMG_EdgeWindow
Definition: GPMG_EdgeWindow.cpp:22
#define tFlag
Definition: types.h:14