Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to decorate connectors using draw2d
how to decorate connectors using draw2d [message #110147] Thu, 08 March 2007 04:26 Go to next message
Eclipse UserFriend
hi
how can i draw a line using draw2d,i want to know how to draw a solid line
aswell as a dotted line.after drawing these lines i want to decorate the
edges of the solid line with and filled rectangle and the other dotted
line with inverted "V" shape which looks like an arrow.
i shall be thank full,if u people can help with a sample code..

thanks in advance
lokesh
Re: how to decorate connectors using draw2d [message #110284 is a reply to message #110147] Thu, 08 March 2007 10:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marcio.debarros.gmail.com

I am not sure if this is what you are looking for, but GMF Tutorial Part 2 -
Graphical Definition session, shows you have to create different type of
lines. Check the link below:

http://wiki.eclipse.org/index.php/GMF_Tutorial_Part_2#Graphi cal_Definition_2



"lokesh" <loc.hello@gmail.com> wrote in message
news:ddc62d52b36c0e34f1792443a8429f4d$1@www.eclipse.org...
> hi
> how can i draw a line using draw2d,i want to know how to draw a solid line
> aswell as a dotted line.after drawing these lines i want to decorate the
> edges of the solid line with and filled rectangle and the other dotted
> line with inverted "V" shape which looks like an arrow.
> i shall be thank full,if u people can help with a sample code..
> thanks in advance
> lokesh
>
Re: how to decorate connectors using draw2d [message #110518 is a reply to message #110284] Thu, 08 March 2007 23:26 Go to previous messageGo to next message
Eclipse UserFriend
hi,
thats for your link,i am developing a sample uml editor,for use case
diagrams i have to give assosiation,genralization,include,extends links
between actor and usecases.thats why i want to know how to draw lines
using draw2d in gmf...
i am gogin through that article.can any one help me with sample code...
thanks in advance
lokesh
Re: how to decorate connectors using draw2d [message #111084 is a reply to message #110518] Mon, 12 March 2007 11:39 Go to previous messageGo to next message
Eclipse UserFriend
Hello Lokesh,

A number of GMF-based UML diagrams are developed as a part of MDT project:
http://www.eclipse.org/modeling/mdt/?project=uml2tools#uml2t ools

I think you can ask this question there or even benefit from the code they
have in a shared CVS repository.

-----------------
Alex Shatalin
Re: how to decorate connectors using draw2d [message #111347 is a reply to message #111084] Tue, 13 March 2007 05:19 Go to previous message
Eclipse UserFriend
thanks alex,
nice link..
got my work done...
Previous Topic:Wizard Name Generation
Next Topic:Display GMF graphs in a viewpart?
Goto Forum:
  


Current Time: Mon May 05 06:31:51 EDT 2025

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

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

Back to the top