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 12:29 Go to next message
Oleg Bolshakov is currently offline Oleg Bolshakov
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 12: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 12:53 Go to previous message
Oleg Bolshakov is currently offline Oleg Bolshakov
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: Fri Jul 25 14:24:49 EDT 2014

Powered by FUDForum. Page generated in 0.02591 seconds