Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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] Thu, 18 August 2011 02:19 Go to next message
vrm  is currently offline vrm Friend
Messages: 31
Registered: June 2011
Member
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 09:10 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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: Thu Apr 25 10:16:22 GMT 2024

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

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

Back to the top