To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80240
                 Issue #|80240
                 Summary|Testtool: Allow accessing menuentries by ID instead of
                        | index
               Component|framework
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P2
            Subcomponent|code
             Assigned to|gh
             Reported by|jsk





------- Additional comments from [EMAIL PROTECTED] Wed Aug  1 07:15:19 +0000 
2007 -------
With the extensions becoming more important now we need a new way of accessing
menu entries.. 

Extensions might change the number and order of items presented in context menus
effectively breaking our current methods to access items by their index
(position in the menu).

Please develop a solution that would allow us to access the items. Please make
sure that:
a) The solution actually opens the menu (this is a test itself)
b) The ID is unique for a menu and it does not matter where in the menu the 
entry is
c) Use speaking names for the items

Nice to have (might be implemented later, but should be provided at some point):
d) If possible provide the means to retrieve the index (integer) of a selected
menuitem 
    e.g. something like: contextmenu.copy.getIndex()
e) Get the id (string) of the selected menuitem
f) Get the name of the selected menuitem
g) If possible allow to get a boolean value for "Menuitem has icon"
h) If the entry has a checkbox, allow to retrieve the state

For the "Nice to have" we can write another Issue with lower priority if need
be. However, as there is work to be done on the menus anyway it might be
suitable to implement these features in one go with the others.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to