Home » Eclipse Projects » Platform - User Assistance (UA) » Command FrameWork- loosing popup menus when I detach window
| | |
Re: Command FrameWork- loosing popup menus when I detach window [message #474136 is a reply to message #474135] |
Tue, 15 July 2008 18:27 |
|
> David wrote:
>> Hi
>>
>> 1. I am using command framework to show popup menus for my view, and I
>> used visible and activate when clauses. It works fine, but when I
>> detached view using detached options on the view, I loose all pop up
>> menus.
>>
>> I am not sure whether this is a eclipse defect or I am missing some
>> thing.
Are you on eclipse 3.3? Does it still do this in eclipse 3.4? If so,
please open a bug with a simple example at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI&short_desc=[Contributions]
>> 2. And also I noticed one more scenario where it looses pop up menus.
>> When I launch editor from the view, don't set focus on the editor,
>> come back to the view, right click on any node, and I don't see any
>> pop up menus options.
Are these your editor/view? When you open the editor, doesn't it become
active? Does your view and editor implement setFocus() correctly?
This works for me with both the Project Explorer/Text editor and the
Info View and Info Editor (command based in
org.eclipse.ui.examples.contributions).
PW
--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
|
Re: Command FrameWork- loosing popup menus when I detach window [message #474137 is a reply to message #474136] |
Tue, 15 July 2008 18:58 |
mowry Messages: 51 Registered: July 2009 |
Member |
|
|
Hi
1. I am using command framework to show popup menus for my view, and I
used visible and activate when clauses. It works fine, but when I detached
view using detached options on the view, I loose all pop up menus.
I am not sure whether this is a eclipse defect or I am missing some thing.
[PW]
Are you on eclipse 3.3? Does it still do this in eclipse 3.4? If so,
please open a bug with a simple example at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI&short_desc=[Contributions]
[Daivd] I tested with eclipse 3.2 & 3.3. I see the same behavior. I
haven't moved to eclipse 3.4.
2. And also I noticed one more scenario where it looses pop up menus.
When I launch editor from the view, don't set focus on the editor, come
back to the view, right click on any node, and I don't see any pop up
menus options.
[PW]
Are these your editor/view? When you open the editor, doesn't it become
active? Does your view and editor implement setFocus() correctly?
This works for me with both the Project Explorer/Text editor and the Info
View and Info Editor (command based in
org.eclipse.ui.examples.contributions).
[David]
SetFocus is set properly on the view but not on the editor. If I don't set
setFocus on the editor, launch editor from the view, come back to the
view, select any node in the view and right click to see menu options. I
see options are disabled which need some specific object selection.
When I set setFocus on the editor, everthing works as expected.
|
|
| | |
Re: Command FrameWork- loosing popup menus when I detach window [message #618987 is a reply to message #474135] |
Tue, 15 July 2008 18:27 |
|
> David wrote:
>> Hi
>>
>> 1. I am using command framework to show popup menus for my view, and I
>> used visible and activate when clauses. It works fine, but when I
>> detached view using detached options on the view, I loose all pop up
>> menus.
>>
>> I am not sure whether this is a eclipse defect or I am missing some
>> thing.
Are you on eclipse 3.3? Does it still do this in eclipse 3.4? If so,
please open a bug with a simple example at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI&short_desc=[Contributions]
>> 2. And also I noticed one more scenario where it looses pop up menus.
>> When I launch editor from the view, don't set focus on the editor,
>> come back to the view, right click on any node, and I don't see any
>> pop up menus options.
Are these your editor/view? When you open the editor, doesn't it become
active? Does your view and editor implement setFocus() correctly?
This works for me with both the Project Explorer/Text editor and the
Info View and Info Editor (command based in
org.eclipse.ui.examples.contributions).
PW
--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
|
Re: Command FrameWork- loosing popup menus when I detach window [message #618990 is a reply to message #474136] |
Tue, 15 July 2008 18:58 |
mowry Messages: 51 Registered: July 2009 |
Member |
|
|
Hi
1. I am using command framework to show popup menus for my view, and I
used visible and activate when clauses. It works fine, but when I detached
view using detached options on the view, I loose all pop up menus.
I am not sure whether this is a eclipse defect or I am missing some thing.
[PW]
Are you on eclipse 3.3? Does it still do this in eclipse 3.4? If so,
please open a bug with a simple example at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI&short_desc=[Contributions]
[Daivd] I tested with eclipse 3.2 & 3.3. I see the same behavior. I
haven't moved to eclipse 3.4.
2. And also I noticed one more scenario where it looses pop up menus.
When I launch editor from the view, don't set focus on the editor, come
back to the view, right click on any node, and I don't see any pop up
menus options.
[PW]
Are these your editor/view? When you open the editor, doesn't it become
active? Does your view and editor implement setFocus() correctly?
This works for me with both the Project Explorer/Text editor and the Info
View and Info Editor (command based in
org.eclipse.ui.examples.contributions).
[David]
SetFocus is set properly on the view but not on the editor. If I don't set
setFocus on the editor, launch editor from the view, come back to the
view, select any node in the view and right click to see menu options. I
see options are disabled which need some specific object selection.
When I set setFocus on the editor, everthing works as expected.
|
|
|
Goto Forum:
Current Time: Sat Nov 09 03:15:27 GMT 2024
Powered by FUDForum. Page generated in 0.03850 seconds
|