Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Popup menu disapears after reopen a part(Problem with context menu when closing and opening part)
Popup menu disapears after reopen a part [message #827586] Fri, 23 March 2012 14:34 Go to next message
Tom K. is currently offline Tom K.Friend
Messages: 22
Registered: July 2009
Junior Member
We have a Problem with our context menu.

In our Part (in the @PostConstruct method) we register the menu

menuService.registerContextMenu(control, Constants.CONTEXT_MENU_ID);


the first time it works well and shows all Popup Menus defined in the fragment.e4xmi
when the view is closed (flag set To be Rendered false and again set to true. Then the menu disapears. In the livemodel the menu is still there and declared. As well the code in the @PostConstruct is called again.

Does anybody know why this problem could happen? It is probably a bug?
We are using M4...

[Updated on: Fri, 23 March 2012 14:35]

Report message to a moderator

Re: Popup menu disapears after reopen a part [message #827603 is a reply to message #827586] Fri, 23 March 2012 14:57 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Perhaps it's not being de-registered correctly when your view is closed. You can open a bug at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&component=UI

PW


Re: Popup menu disapears after reopen a part [message #830201 is a reply to message #827603] Tue, 27 March 2012 10:21 Go to previous message
Tom K. is currently offline Tom K.Friend
Messages: 22
Registered: July 2009
Junior Member
Okay I posted the bug.. thanks for the help.
Bug 375393 - Popup / Context Menu disapears after reopening a part (e4) (edit)
Previous Topic:Deprecated CSS properties -- what to use instead?
Next Topic:Saving Part State
Goto Forum:
  


Current Time: Sat Apr 20 00:25:23 GMT 2024

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

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

Back to the top