Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Popup Menu
Popup Menu [message #179812] Sun, 01 May 2005 20:50 Go to next message
Eclipse UserFriend

I have the following problem. In my editor I have a simple figure which I
am able to select. I have added a popup menu and some actions in there,
which are displayed. But when I call the getSelectedObjects()-method, it
always returns null. although a figure is selected. Anybody has an idea?

thx in advance
Re: Popup Menu [message #179946 is a reply to message #179812] Mon, 02 May 2005 10:46 Go to previous message
Eclipse UserFriend
Additional Information:

I use a Multipage-Editor.

When I call IStructuredSelection selections =

instead of getSelectedObjects() in my own Action, I ll get the selected

But for predefinied Actions like "DELETE" this wont work. So do I need to
set a special SelectionProvider for the Multipage-Editor?
Previous Topic:multiple outline pages with MultiPageEditorPart
Next Topic:Wrong positioning of figures if editor is scrolled
Goto Forum:

Current Time: Wed Feb 08 07:09:45 GMT 2023

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

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

Back to the top