There is not a great deal of documentation I'm afraid. The best place
to learn GEF is by looking at the examples.

The main groups of classes to be aware of are -

A GraphModel is a collection of model elements from the application
that are to make up one graph (non-visual)

Diagrams contain the visualizations of those graphs. They contain Figs
(mostly FigNodes and FigEdges) that wrap some single model element
(owner).

Figs follow the Composite design pattern where Figs are composed of
child Figs in order to build up a whole diagram element from reusable
parts.

Modes are states that the diagram editor are in for manipulating
diagrams. ModeSelect is the standard mode where the user can click to
select Figs in the diagram.

ModeCreateEdge is the standard mode when drawing an edge from one
FigNode to another on the diagram. The sequence diagrams actually use
a replacement mode for drawing messages ModeCreateMessage.

There is an Action class, CmdSetMode which allows change of mode. For
modes that create new diagram elements they are typically wrapped by a
RadioAction which tells the toolbar to create the toolbar button as a
radio button style where it remains held down after it is clicked.

You will see these created in UMLSequenceDiagram. Look in that class
and search for ModeCreateMessage.class

hth

Bob.



On 8/21/06, Obaid Salikeen <[EMAIL PROTECTED]> wrote:

Hellow To All,

Thank you all (Specially Bob Tarling) for providing me help regarding
GraphModel And Renderer.
I want to know more about GEF Framework. I dont know its call hierarchy. how
and why it is called by which subsystem (and when). Any information about
GEF in reference to Sequence diagram will be very helpful.


Obaid Salikeen
M.A.J.University, Islamabad
Pakistan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to