
Public Member Functions | |
| xmlNodePtr | Save (xmlDocPtr xml) |
| bool | Load (xmlNodePtr) |
| void | Add (GtkWidget *w) |
| void | Update (GtkWidget *w) |
| void | SetStartStep (ReactionStep *Step) |
| ReactionStep * | GetStartStep () |
| void | SetEndStep (ReactionStep *Step) |
| ReactionStep * | GetEndStep () |
| bool | BuildContextualMenu (GtkUIManager *UIManager, Object *object, double x, double y) |
| void | Move (double x, double y, double z=0) |
| void | SetSelected (GtkWidget *w, int state) |
| bool | OnSignal (SignalId Signal, Object *Child) |
Definition at line 36 of file reaction-arrow.h.
| xmlNodePtr gcp::ReactionArrow::Save | ( | xmlDocPtr | xml | ) | [virtual] |
| xml,: | the xmlDoc used to save the document. |
Reimplemented from gcu::Object.
| bool gcp::ReactionArrow::Load | ( | xmlNodePtr | node | ) | [virtual] |
| node,: | a pointer to the xmlNode containing the serialized object. |
Example:
std::string str = (const char*)node->name; Object* pObject = Object::CreateObject(str, this); if (pObject) { if (!pObject->Load(node)) delete Object; } else cerr << "Warning: unknown object: " << str << endl;
Reimplemented from gcp::Arrow.
| void gcp::ReactionArrow::Add | ( | GtkWidget * | w | ) | [virtual] |
| w,: | the GtkWidget inside which the Object will be displayed. |
Reimplemented from gcu::Object.
| void gcp::ReactionArrow::Update | ( | GtkWidget * | w | ) | [virtual] |
| w,: | the GtkWidget inside which the Object is displayed. |
Reimplemented from gcu::Object.
| bool gcp::ReactionArrow::BuildContextualMenu | ( | GtkUIManager * | UIManager, | |
| Object * | object, | |||
| double | x, | |||
| double | y | |||
| ) | [virtual] |
| UIManager,: | the GtkUIanager to populate. | |
| object,: | the Object on which occured the mouse click. | |
| x,: | x coordinate of the mouse click. | |
| y,: | y coordinate of the mouse click. |
Reimplemented from gcu::Object.
| void gcp::ReactionArrow::Move | ( | double | x, | |
| double | y, | |||
| double | z = 0 | |||
| ) | [virtual] |
| x,: | the x component of the transation vector. | |
| y,: | the y component of the transation vector. | |
| z,: | the z component of the transation vector. |
Reimplemented from gcp::Arrow.
| void gcp::ReactionArrow::SetSelected | ( | GtkWidget * | w, | |
| int | state | |||
| ) | [virtual] |
| w,: | the GtkWidget inside which the Object is displayed. | |
| state,: | the selection state of the Object. |
Reimplemented from gcp::Arrow.
| bool gcp::ReactionArrow::OnSignal | ( | SignalId | Signal, | |
| Object * | Child | |||
| ) | [virtual] |
| Signal,: | the appropriate SignalId | |
| Child,: | the child which emitted the signal or NULL |
Reimplemented from gcu::Object.
1.5.3