AGR - problems with view menus [message #65180] |
Fri, 07 April 2006 15:14  |
Eclipse User |
|
|
|
Hi,
I have trouble executing a macro that invokes an action from a view menu.
Using TPTP+AGR 4.2 i1/M5 build on win xp
The following recorded macro also demonstrates the problem. It tries to
show the problem view and bring up the preferences dialog, then closing
it. This can be executed from the Java Perspective.
<macro version="0.1" >
<shell id="org.eclipse.ui.internal.WorkbenchWindow" return-code="-1">
<command type="select" contextId="menus"
widgetId="org.eclipse.ui.internal.ShowViewMenu#{{&Window-Show
&View-&Problems}}-{{0.8}}{{6|4|9}}-{{0.6}}{{ true}}-{{0.1}}{{13}}-{{0.1}}{{&Package
Explorer	Alt+Shift+Q, P}}-{{0.2}}{{&Search	Alt+Shift+Q,
S}}-{{0.2}}">
<parent widgetId="window"/>
<parent widgetId="showView"/>
</command>
<command type="select"
contextId=" popup/view/org.eclipse.ui.views.ProblemView/org.eclipse.swt. widgets.Tree#1 "
widgetId=" org.eclipse.jface.action.ActionContributionItem#{{&P references...}}-{{0.8}}{{5}}-{{0.6}}{{false}}-{{0.1}}{{6}}-{ {0.1}}{{&Configure
Filters...}}-{{0.2}}{{last}}-{{0.2}}"/>
<shell
id=" org.eclipse.ui.views.markers.internal.MarkerViewPreferenceDi alog "
return-code="0">
<command type="select" contextId="shell"
widgetId="org.eclipse.swt.widgets.Button#{{0}}-{{1.0}}"/>
</shell>
<command type="wait"/>
</shell>
</macro>
When executing this macro I get an error that says: Cannot locate menu
item: ...
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06565 seconds