Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Where can I find the Graphdefine of the unequal polygon in the diagram?
Where can I find the Graphdefine of the unequal polygon in the diagram? [message #190860] Wed, 04 June 2008 06:47
Dollyn Sun is currently offline Dollyn SunFriend
Messages: 68
Registered: July 2009
Location: China
Member

Hi,

You konw that for every gmf editor, if you right-click on the diagram,
in the context menu you can add
many node like round, triangle... , and you can connect them with lines.
The anchor is just on the boder
of the node even if the diagram is unequal.

I want my nodes to have this feature too. But I donn't know how to
define the graph to achieve this.


Another question is, I have a connection, and there is no separate
domain model that is corresponding to the connection.
For example, there is Class A and B, B has a getA() method, and this
will be a connection on the diagram.
Can I add a Label to the connection? how?(In fact, in the graph define,
I add a label to the connection figure, but the label is just
located on the top-left side of the diagram, not on the connection)

Thanks.

--

*/Dollyn/*


Dollyn
Previous Topic:How to make editor aware of model changes?
Next Topic:Editing Object-Properties via Diagramm Partitionung possible ?
Goto Forum:
  


Current Time: Tue Apr 16 23:38:07 GMT 2024

Powered by FUDForum. Page generated in 3.41826 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top