Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » How to get the custom GraphicsAlgorithm(GraphicsAlgorithm)
How to get the custom GraphicsAlgorithm [message #1776392] Thu, 16 November 2017 07:10
xi yahui is currently offline xi yahuiFriend
Messages: 32
Registered: October 2017
I create a custom figure:
public class StartFigure extends RectangleFigure implements IGraphicsAlgorithmRenderer{
In the addfeature, the code:
GraphicsAlgorithm containerAlgorithm = null;
containerAlgorithm = gaService.createPlatformGraphicsAlgorithm(containerShape,
TtcnGraphicsAlgorithmRendererFactory.StartFigure );
And then, I need to get the instance of StartFigure in some method.
How can I get the instance of StartFigure by PictogramElement?
Previous Topic:Graphiti Diagram
Next Topic:Ifile to diagramURI
Goto Forum:

Current Time: Sat Mar 17 04:40:22 GMT 2018

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

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