Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » About popup menu
About popup menu [message #142662] Wed, 14 July 2004 01:39 Go to next message
Eclipse UserFriend
Originally posted by: penzhan8451.sina.com

hi,

when i select a editpart in editor,then right click. but the "Delete"
item

wasn't included in popup menu. why ?

The DELETE Action had been added into the ActionRegistry. Through
debug, I

found the DELETE Action could not get the object deliverd by request (the

editpart that i selected).

The problem happened when I migrated from eclipse 2.0.2 to 2.1.3
version.


Thanks & best regards.
Re: About popup menu [message #142907 is a reply to message #142662] Fri, 16 July 2004 04:38 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
You need to update the action when the selection changes in the editor.
Look at LogicEditor#selectionChanged(IWorkbenchPart, ISelection).

"Peng Li Zhan" <penzhan8451@sina.com> wrote in message
news:cd22t2$p70$1@eclipse.org...
> hi,
>
> when i select a editpart in editor,then right click. but the "Delete"
> item
>
> wasn't included in popup menu. why ?
>
> The DELETE Action had been added into the ActionRegistry. Through
> debug, I
>
> found the DELETE Action could not get the object deliverd by request (the
>
> editpart that i selected).
>
> The problem happened when I migrated from eclipse 2.0.2 to 2.1.3
> version.
>
>
> Thanks & best regards.
>
>
Previous Topic:bounding box outside owner figure bounds
Next Topic:How to listen the saving action of other editor running on the same runtime eclipse?
Goto Forum:
  


Current Time: Thu Sep 26 07:17:52 GMT 2024

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

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

Back to the top