Skip to main content



      Home
Home » Modeling » Graphiti » Execute Feature on after GraphicalEditor Opens
Execute Feature on after GraphicalEditor Opens [message #1706175] Mon, 24 August 2015 08:34 Go to next message
Eclipse UserFriend
Hi All,

I want to execute a feature when GraphicalEditor opens to display a ContainerShape. So when the user opens the editor, it is already displaying the ContainerShape.

Is there a best approached to do this? Sometimes I get the null pointer when accessing the graphical viewer of the editor when opening it.

Thanks,
Ken
Re: Execute Feature on after GraphicalEditor Opens [message #1707878 is a reply to message #1706175] Thu, 10 September 2015 03:44 Go to previous message
Eclipse UserFriend
Ken,

I would suggest to better create a diagram file (outside of the editor in a special action or the editor open action), add the shape there and then open the diagram editor. Something like that is done in the tutorial "Add all classes" action contained in the context menu of the project.

HTH,
Michael
Previous Topic:Graphiti Inactive Shapes
Next Topic:how to create Graphiti shapes with scroll bar
Goto Forum:
  


Current Time: Fri Apr 18 01:13:43 EDT 2025

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

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

Back to the top