I am getting the problem in AGR while playing back a script of "open
perspective" button on the tool bar.
In Some doc, i read about the Adaptive widget resolver mechanism use to
resolved the identification problem of widgets.According to them i have
added the following entry in the widgetReg.xml file for "open perspective"
button on the tool bar
<class name = "org.eclipse.ui.internal.PerspectiveBarNewContributionItem"
matchThreshold = "1.0">
<method name = "getData" weight = "1.0"/>
</class>
Then i restart my eclipse application and recorded a new script containing
the above "open perspective" button but when i play back it again showing
the error message as:
java.lang.reflect.InvocationTargetException
null
org.eclipse.core.runtime.CoreException: Line 13: Cannot locate menu item:
{{Other...}}-{{1.0}}
at ..........
1)Can anybody tell me the entry i have added to the xml file is right or
wrong?
If wrong then please tell me a correct entry with explanation that how we
can decide the name of class and the methods?
2) and any thing else that i need to do to resolve the above problem