Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Execute Feature on after GraphicalEditor Opens
Execute Feature on after GraphicalEditor Opens [message #1706175] Mon, 24 August 2015 12:34 Go to next message
Ken Mersado is currently offline Ken MersadoFriend
Messages: 19
Registered: October 2014
Junior Member
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 07:44 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1898
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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 Sep 21 10:39:25 GMT 2018

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

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

Back to the top