Skip to main content



      Home
Home » Modeling » Graphiti » How to get the custom GraphicsAlgorithm(GraphicsAlgorithm)
How to get the custom GraphicsAlgorithm [message #1776392] Thu, 16 November 2017 02:10
Eclipse UserFriend
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: Thu Apr 24 07:09:49 EDT 2025

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

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

Back to the top