Skip to main content



      Home
Home » Modeling » Graphiti » Using user defined shapes in Graphiti(how to use user defined shapes in Graphiti)
Using user defined shapes in Graphiti [message #716654] Wed, 17 August 2011 22:19 Go to next message
Eclipse UserFriend
Is it possible to use user defined shapes within Graphiti Framework ? if so how ?
I understand complex shapes within Graphiti can be created using the graphics algorithm for polygon.However I'd like to how I can reuse a shape,as in a class extending the draw2d.Figure class.in Graphiti.

Any pointers would be of much help.
Re: Using user defined shapes in Graphiti [message #716737 is a reply to message #716654] Thu, 18 August 2011 05:10 Go to previous message
Eclipse UserFriend
This can be done using the IGraphicsAlgorithmRendererFactory provided by
Graphiti. An example of this is contained in the Sketch test tool, classes
SketchGraphicsAlgorithmRendererFactory and CanFigure.

HTH,
Michael


"vrm" schrieb im Newsbeitrag news:j2hs86$tdb$1@news.eclipse.org...

Is it possible to use user defined shapes within Graphiti Framework ? if so
how ?
I understand complex shapes within Graphiti can be created using the
graphics algorithm for polygon.However I'd like to how I can reuse a
shape,as in a class extending the draw2d.Figure class.in Graphiti.

Any pointers would be of much help.
Previous Topic:Decorator on Connection moves weirdly after zooming diagram
Next Topic:TransactionalEditing Domain problem
Goto Forum:
  


Current Time: Wed Jul 16 22:28:41 EDT 2025

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

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

Back to the top