Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GraphicalEditor createActions() method is not called(in Shapes Diagram Edtitor)
GraphicalEditor createActions() method is not called [message #883010] Thu, 07 June 2012 16:29 Go to next message
Oleg Bolshakov is currently offline Oleg BolshakovFriend
Messages: 36
Registered: August 2010
Member
Hi, I'm trying to create my own editor based on ShapeDiagramEditor. I want to create my own conext menu. But I got to know that createActions() method, that I added like it is done is Logic Editor, is not called in ShapesEditor (both extends GraphicalEditorWithFlyoutPalette). I can see that createActions() is not called manually, the GraphicalEditor.initializeActionRegistry() calls it which in turn is called from init(...) method. But it ShapesEditor these method seem to not be called. What can be the reason?

[Updated on: Thu, 07 June 2012 16:31]

Report message to a moderator

Re: GraphicalEditor createActions() method is not called [message #883020 is a reply to message #883010] Thu, 07 June 2012 16:53 Go to previous message
Oleg Bolshakov is currently offline Oleg BolshakovFriend
Messages: 36
Registered: August 2010
Member
Sorry, guys, my mistake!! I had two shapePlugins in my workspace...so it's ok, everything is called now..
Previous Topic:Create Request/Command by clicking a regular Button
Next Topic:Is .clear() no longer supported?
Goto Forum:
  


Current Time: Sat Nov 29 03:52:30 GMT 2014

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

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