Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » AGR - problems with view menus
AGR - problems with view menus [message #65180] Fri, 07 April 2006 19:14 Go to next message
Daniel Dominguez is currently offline Daniel Dominguez
Messages: 9
Registered: July 2009
Junior Member
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#{{&amp;Window-Show
&amp;View-&amp;Problems}}-{{0.8}}{{6|4|9}}-{{0.6}}{{ true}}-{{0.1}}{{13}}-{{0.1}}{{&amp;Package
Explorer&#x9;Alt+Shift+Q, P}}-{{0.2}}{{&amp;Search&#x9;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#{{&amp;P references...}}-{{0.8}}{{5}}-{{0.6}}{{false}}-{{0.1}}{{6}}-{ {0.1}}{{&amp;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: ...
Re: AGR - problems with view menus [message #65948 is a reply to message #65180] Tue, 11 April 2006 20:23 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
Hi Daniel,

You need to explicitly select an item in the problems view before invoking
an item from its context menu (i.e. left click an item and right click the
item to select a context menu item)


"Daniel Dominguez" <daniel@parasoft.com> wrote in message
news:e16dn7$h1k$1@utils.eclipse.org...
> 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#{{&amp;Window-Show
>
&amp;View-&amp;Problems}}-{{0.8}}{{6|4|9}}-{{0.6}}{{ true}}-{{0.1}}{{13}}-{{0
..1}}{{&amp;Package
> Explorer&#x9;Alt+Shift+Q, P}}-{{0.2}}{{&amp;Search&#x9;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. widge
ts.Tree#1"
>
widgetId=" org.eclipse.jface.action.ActionContributionItem#{{&amp;P references
....}}-{{0.8}}{{5}}-{{0.6}}{{false}}-{{0.1}}{{6}}-{{0.1}}{{& amp;amp;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: ...
Re: AGR - problems with view menus [message #66013 is a reply to message #65948] Tue, 11 April 2006 20:44 Go to previous messageGo to next message
Daniel Dominguez is currently offline Daniel Dominguez
Messages: 9
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.
--------------040007090709030307080803
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I think maybe I didn't describe the problem clearly enough. This issue
is not with context menus, but rather the view menu that is accessible
from the view's toolbar. I attached a screen shot to hopefully make it
more clear.

I only used the problem view as an example of a common view with a view
menu.

But this is preventing me from testing one of my views.

Thanks for your help,
Daniel



Ali Mehregani wrote:
> Hi Daniel,
>
> You need to explicitly select an item in the problems view before invoking
> an item from its context menu (i.e. left click an item and right click the
> item to select a context menu item)
>
>
> "Daniel Dominguez" <daniel@parasoft.com> wrote in message
> news:e16dn7$h1k$1@utils.eclipse.org...
>> 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#{{&amp;Window-Show
>>
> &amp;View-&amp;Problems}}-{{0.8}}{{6|4|9}}-{{0.6}}{{ true}}-{{0.1}}{{13}}-{{0
> .1}}{{&amp;Package
>> Explorer&#x9;Alt+Shift+Q, P}}-{{0.2}}{{&amp;Search&#x9;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. widge
> ts.Tree#1"
> widgetId=" org.eclipse.jface.action.ActionContributionItem#{{&amp;P references
> ...}}-{{0.8}}{{5}}-{{0.6}}{{false}}-{{0.1}}{{6}}-{{0.1}}{{&a mp;amp;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: ...
>
>


--------------040007090709030307080803
Content-Type: image/png;
name="probView.png"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="probView.png"

iVBORw0KGgoAAAANSUhEUgAAAg8AAAD5CAIAAAAvE0HYAAAACXBIWXMAAAsT AAALEwEAmpwY
AAAAB3RJTUUH1gQLFCokYnVXBgAAHOBJREFUeNrt3XuYFNWdxvHfqR6YQW6j 6ACigMEgi4+X
3Fw1xluS3XiNG0zU8MTEZDHxhsOIDMoaH4MYBkcgRpMVY0xMNKKgkaBmY7KA 8cKTi7vZJ0wG
guEmKCgMIMhcuursHzUUNVXd1VXV9+7v5/HBnuqq6urTXeetc6q6jnpve7sA ABDIoAgAAKQF
ACAHatx/7NjxbtuaNgoFQIWZeOLEhoajwsxJNZiOss9bOAV07nnnVG1ZrFyx qozevvORXb7k
wsr+XJZc/kLUHR7w790Zv0JUg5nbFnYZUUBlxP7IvvTsxSJiJCr8zdpvU0Se kuVta4gNxGHX
bytXrBJJ/eWhGsycFpRRmUbFVcsuSSSq641ftewS+8Ev5Fdta8gMxMmMlIFB NRgqLSijcoyK
ycsvNQwRkYfOuk06O6WuTqRO6urrpF7q6qWuXqRe6urq6upF6q740dAKK4TJ yy8VkcdlWbrj
RCB8YBAVYdOCIihHiYTqfdTZeerXfnLK0NrtXV3uGYbX1v721baTPj5ORBbL O19+tK7yCuHq
Fz//mDxHIyOvZt+35I5bLrcf3/vwy7dOOTvkgnPuaQ14dtbt03O7YOyXQ4S0 IFHLrmFxzW8u
c/qgOqU3BrrW/m3fr5d/sPq1w04/c9DnLpaTTxXRIqJETj99xBPyzlceG1B5 BXLNby4TkUfl
lzQyHG3t2+0HEycMDzM9cyFPm/PogllRN2PW7dPn3NM6f+HDnulNjVMy1t3+ pZxlc7KU3bxo
aOit+mhY0LaoWEbi0K9kOjtFRLTIvl8/X7/lrdEnf2zvlrd2//p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YvWNgytWlm
0u5aT1VxIdu0sCzLtEytDMvSIlqLtizjhqm3Wt06KWJZlmWJ0r2dyPYl8ElL d/dYopWhLSP6
oWMBLk8wdLQqrQDvIuomVcxWxfi47e+V/SPw2oTwewv4+SuuG6fOMJOmtlS6 igvZpsVHxvVb
v6VTW8o8WKB2+Zo6oUQM0crS2tL/NKZGRIYMTIjIScf1e3NLV8KQpNV77Vok ifyf/EhGrAML
8C6S0RsKlbFVMT5u+3tlf+WGDqpjd4VfjIoLWaXFK2veOevEEccfUxtmmWdf 3XbuSUNFZNzI
/uNG9qcQkW9P/37rledzo2l4xai4Fqyh2LJLi4nHDnp61eYdezr3faB7zJ7u pFLassT53Xzv
g341xhGDaq88/2jp2dWxa1tXt7VhR9fatz6gHJE/w4f2+8yJQ6Rn1+4OCgN9 TDx2SNSKi0LL
Ni0u+/kgkUGhltgji38mjCiCgvoLRYB0clZx7dyxltIMwDXIAIAQbYubhy2i FABUs5UrVlEI
Gan3trdTCgCAYPREAQAy+3/axNiq2hlS8gAAAABJRU5ErkJggg==
--------------040007090709030307080803--
Re: AGR - problems with view menus [message #66426 is a reply to message #66013] Thu, 13 April 2006 19:29 Go to previous messageGo to next message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
Yes, the toolbar menu is not supported.
You can open a defect and I'll try and attend to it.

"daniel" <daniel@parasoft.com> wrote in message
news:e1h4ga$mjv$1@utils.eclipse.org...
> I think maybe I didn't describe the problem clearly enough. This issue
> is not with context menus, but rather the view menu that is accessible
> from the view's toolbar. I attached a screen shot to hopefully make it
> more clear.
>
> I only used the problem view as an example of a common view with a view
> menu.
>
> But this is preventing me from testing one of my views.
>
> Thanks for your help,
> Daniel
>
>
>
> Ali Mehregani wrote:
> > Hi Daniel,
> >
> > You need to explicitly select an item in the problems view before
invoking
> > an item from its context menu (i.e. left click an item and right click
the
> > item to select a context menu item)
> >
> >
> > "Daniel Dominguez" <daniel@parasoft.com> wrote in message
> > news:e16dn7$h1k$1@utils.eclipse.org...
> >> 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#{{&amp;Window-Show
> >>
> >
&amp;View-&amp;Problems}}-{{0.8}}{{6|4|9}}-{{0.6}}{{ true}}-{{0.1}}{{13}}-{{0
> > .1}}{{&amp;Package
> >> Explorer&#x9;Alt+Shift+Q, P}}-{{0.2}}{{&amp;Search&#x9;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. widge
> > ts.Tree#1"
> >
widgetId=" org.eclipse.jface.action.ActionContributionItem#{{&amp;P references
> > ...}}-{{0.8}}{{5}}-{{0.6}}{{false}}-{{0.1}}{{6}}-{{0.1}}{{&a mp;amp;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: ...
> >
> >
>
>


------------------------------------------------------------ ----------------
----
Re: AGR - problems with view menus [message #66615 is a reply to message #66426] Thu, 13 April 2006 20:57 Go to previous message
Daniel Dominguez is currently offline Daniel Dominguez
Messages: 9
Registered: July 2009
Junior Member
Thanks Ali,

I put the bug url here in case anyone else wants to track this issue.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=136756



Ali Mehregani wrote:
> Yes, the toolbar menu is not supported.
> You can open a defect and I'll try and attend to it.
Previous Topic:WhatÂ’s New for Callisto?
Next Topic:TPTP crashes eclipse help
Goto Forum:
  


Current Time: Sun Sep 21 10:11:08 GMT 2014

Powered by FUDForum. Page generated in 0.03247 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software