class  Diagram : public Document (abstract) diagram class.
|   | sequence  | 
|   | Diagram (Config *, DiagramWindow *, DiagramViewer *, Graph *) | 
|   | ~Diagram () | 
|   | Initialize () | 
|   | GetGraph () const  | 
|   | GetAssocList () const  | 
|   | CreateNode () Create a new node subject. Depends on current node type.  | 
|   | CreateEdge (Subject *n1, Subject *n2) Create edge, checks if connection is allowed.  | 
|   | CreateNodeShape (Node *node, int x, int y) Create a node shape at (x,y), with default size and node as subject.  | 
|   | CreateLine (Edge *edge, GShape *fromShape, GShape *toShape, List<Point *> *line) Create a line of lineType from fromShape to toShape via points.  | 
|   | UpdateNodeType (int num) set/reset current node shape type to/from num.  | 
|   | UpdateEdgeType (int num) set/reset current edge shape type to/from num.  | 
|   | SetCurve (bool set) set/reset curved edge shapes.  | 
|   | IsCurve () const  | 
|   | CheckConnection (Subject *n1, Subject *n2) Check if connection between those two nodes is allowed.  | 
|   | AddSubject (Subject *s) Add node/edge to graph data structure.  | 
|   | AddSubjects (List<Subject *> *s) Add nodes and edges to graph data structure.  | 
|   | RemoveSubject (Subject *s) Remove node/edge from graph data structure.  | 
|   | RemoveSubjects (List<Subject *> *s) Remove nodes and edges from graph data structure.  | 
|   | CompleteSubjects (List<Subject *> *subjects) add edges to subjects which connect the subjects in subjects.  | 
|   | CompleteEdges (List<Subject *> *subjects) add subjects to subjects which are connected by edges in subjects.  | 
|   | CompleteSubject (List<Subject *> *edges, Subject *subject) add to edges all edges of which subject is part.  | 
|   | RemoveAll () Remove all nodes and edges.  | 
|   | AnnotateSubject (Subject *s) Annotate subject via pop-up dialog.  | 
|   | SetSubjectAnnotation (string *s) Annotate annotationSubject  | 
|   | RedirectEdge (Line *line, bool first, const Point *pt) Redirect line from first or last subject that covers point pt.  | 
|   | Move (MoveType) move diagram in main window.  | 
|   | SelectSubject (Subject *s) select all shapes of subject in current view.  | 
|   | SelectSubjects (List<Subject *> *s) select all shapes of subjects in list in current view.  | 
|   | SetText (TextShape *t, const string *s) Update the text of text shape t and the corresponding subject.  | 
|   | FindAll (const string *s, bool send, bool substring, bool nameOnly) | 
|   | FindNext (const string *s, bool send, bool substring, bool nameOnly) | 
|   | ReplaceAll (const string *s1, const string *s2, bool send, bool substring, bool nameOnly) | 
|   | ReplaceNext (const string *s1, const string *s2, bool send, bool substring, bool nameOnly) | 
|   | HasIndexNode (int) | 
|   | HasIndexShape (int) | 
|   | Reindex () | 
|   | SetNextIndex (Node *n) Give Node next index nr. and update shapes.  | 
|   | GetDiagramViewer () const  | 
|   | GetNodeType () const  | 
|   | SetNodeType (int n) | 
|   | GetEdgeType () const  | 
|   | SetEdgeType (int n) | 
|   | GetNodeShapeType () const  | 
|   | SetNodeShapeType (int n) | 
|   | SetLineType (int n) | 
|   | GetLineType () const  | 
|   | GetNodeLineStyle () | 
|   | GetEdgeLineStyle () | 
|   | SetNodeLineStyle (LineStyle::Type n) | 
|   | SetEdgeLineStyle (LineStyle::Type e) | 
|   | GetLineEnd1 () | 
|   | GetLineEnd2 () | 
|   | SetLineEnd1 (LineEnd::Type t) | 
|   | SetLineEnd2 (LineEnd::Type t) | 
|   | SetSubjectName (Subject *subject, const string *s) Sets name of subject to s. Checks if name is allowed.  | 
|   | SetIndex (Node *n, const string *index) Check and set index of a node.  | 
|   | PlaceShapes () | 
|   | LoadEntries () | 
|   | SaveEntries () | 
|   | CreateThing (int classNr) Creates a new shape/subject depending on classNr.  | 
|   | UpdateNameStrings (Subject *subject) update all name strings of shapes representing subject.  | 
(abstract) diagram class.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 virtual  ~Diagram()
 void  Initialize()
 Graph*  GetGraph() const 
 AssocList*  GetAssocList() const 
 virtual  Node*  CreateNode()
 virtual  Edge*  CreateEdge(Subject *n1, Subject *n2)
 virtual  NodeShape*  CreateNodeShape(Node *node, int x, int y)
 virtual  Line*  CreateLine(Edge *edge, GShape *fromShape, GShape *toShape, List<Point *> *line)
 virtual  void  UpdateNodeType(int num)
 virtual  void  UpdateEdgeType(int num)
 void  SetCurve(bool set)
 bool  IsCurve() const 
 bool  CheckConnection(Subject *n1, Subject *n2)
 virtual  void  AddSubject(Subject *s)
 void  AddSubjects(List<Subject *> *s)
 virtual  void  RemoveSubject(Subject *s)
 void  RemoveSubjects(List<Subject *> *s)
 void  CompleteSubjects(List<Subject *> *subjects)
 void  CompleteEdges(List<Subject *> *subjects)
 void  CompleteSubject(List<Subject *> *edges, Subject *subject)
 void  RemoveAll()
 void  AnnotateSubject(Subject *s)
 void  SetSubjectAnnotation(string *s)
 bool  RedirectEdge(Line *line, bool first, const Point *pt)
 void  Move(MoveType)
 void  SelectSubject(Subject *s)
 void  SelectSubjects(List<Subject *> *s)
 virtual  bool  SetText(TextShape *t, const string *s)
 void  FindAll(const string *s, bool send, bool substring, bool nameOnly)
 void  FindNext(const string *s, bool send, bool substring, bool nameOnly)
 void  ReplaceAll(const string *s1, const string *s2, bool send, bool substring, bool nameOnly)
 void  ReplaceNext(const string *s1, const string *s2, bool send, bool substring, bool nameOnly)
 virtual  bool  HasIndexNode(int)
 virtual  bool  HasIndexShape(int)
 void  Reindex()
 void  SetNextIndex(Node *n)
 static  Sequence  sequence
 DiagramViewer*  GetDiagramViewer() const 
 int  GetNodeType() const 
 void  SetNodeType(int n)
 int  GetEdgeType() const 
 void  SetEdgeType(int n)
 int  GetNodeShapeType() const 
 void  SetNodeShapeType(int n)
 void  SetLineType(int n)
 int  GetLineType() const 
 LineStyle::Type  GetNodeLineStyle()
 LineStyle::Type  GetEdgeLineStyle()
 void  SetNodeLineStyle(LineStyle::Type n)
 void  SetEdgeLineStyle(LineStyle::Type e)
 LineEnd::Type  GetLineEnd1()
 LineEnd::Type  GetLineEnd2()
 void  SetLineEnd1(LineEnd::Type t)
 void  SetLineEnd2(LineEnd::Type t)
 bool  SetSubjectName(Subject *subject, const string *s)
 bool  SetIndex(Node *n, const string *index)
 virtual  void  PlaceShapes()
 void  LoadEntries()
 void  SaveEntries()
 virtual  Thing*  CreateThing(int classNr)
 void  UpdateNameStrings(Subject *subject)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by  Malte  Zöckler,  Roland Wunderling 
contact:  doc++@zib.de