Bug 547070 - Property Tester (to make a command conditionally visible) is not working the way it is expected
Summary: Property Tester (to make a command conditionally visible) is not working the ...
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.12   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-08 03:25 EDT by GOPAL RAI CLA
Modified: 2023-04-19 11:24 EDT (History)
0 users

See Also:


Attachments
This is the plugin.xml (1.98 KB, text/xml)
2019-05-08 03:32 EDT, GOPAL RAI CLA
no flags Details
This is handler (943 bytes, application/octet-stream)
2019-05-08 03:33 EDT, GOPAL RAI CLA
no flags Details
This is property tester. (398 bytes, application/octet-stream)
2019-05-08 03:33 EDT, GOPAL RAI CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description GOPAL RAI CLA 2019-05-08 03:25:45 EDT
I am developing an Eclipse RCP. I defined a popup menu item command. To control the command's visibility, I set a test condition using a manually defined property tester. This property tester is supposed to make the command invisible and it does so except the first time. Means if I open the popup menu for first time, that particular command is visible irrespective of the property tester. When I open that menu for second time, it decides the visibility based on property tester.

In attachment section, I have given the complete code.
Comment 1 GOPAL RAI CLA 2019-05-08 03:32:30 EDT
Created attachment 278530 [details]
This is the plugin.xml
Comment 2 GOPAL RAI CLA 2019-05-08 03:33:10 EDT
Created attachment 278531 [details]
This is handler
Comment 3 GOPAL RAI CLA 2019-05-08 03:33:55 EDT
Created attachment 278532 [details]
This is property tester.
Comment 4 Eclipse Genie CLA 2021-04-28 02:40:55 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Eclipse Genie CLA 2023-04-19 11:24:40 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.