Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » AGR Tab Folder problems
AGR Tab Folder problems [message #57978] Tue, 14 March 2006 14:02 Go to next message
Eclipse UserFriend
Originally posted by: dboltz.qnx.com

I’m having problems while using AGR. Playback fails when I record the
creation of a run configuration. The error returned is that it cannot
locate shell control for the tabFolder#1. Below is a macro that will
produce the problem. I have also seen strange behavior while playing back
the modification of a QNX C/C++ QConn (IP) config. It seems you can run
through the tabs but the contents of the tabs are never realized.
Therefore if you try to modify something within a tab it will fail on
playback saying the widget doesn’t exist. Any ideas on what might be
happening?

<macro version="0.1" >
<shell id="org.eclipse.ui.internal.WorkbenchWindow" return-code="-1">
<command type="select" contextId="menus"
widgetId=" org.eclipse.ui.internal.ActionSetContributionItem#{{&amp ;Run-Ru&amp;n...}}-{{0.8}}{{6|5}}-{{0.6}}{{false}}-{{0.1 }}{{12}}-{{0.1}}{{Run
A&amp;s}}-{{0.2}}{{separator}}-{{0.2}}"/>
<shell
id=" org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog "
return-code="-1">
<command type="item-select" contextId="shell"
widgetId="org.eclipse.swt.widgets.Tree#{{/}}-{{1.0}}">
<item
path=" org.eclipse.swt.widgets.TreeItem#{{org.eclipse.pde.ui}}-{{0. 2}}{{ org.eclipse.debug.internal.core.sourcelookup.SourcePathCompu ter @e9d434 }}-{{0.1}}{{null}}-{{0.1}}{{org.eclipse.pde.ui.RuntimeWorkbe nch}}-{{0.5}} "/>
</command>
<command type="focus" contextId="shell"
widgetId="org.eclipse.swt.widgets.Tree#{{/}}-{{1.0}}"/>
<command type="choice-select" contextId="shell"
widgetId="org.eclipse.swt.widgets.TabFolder#1" choiceId="item#0"/>
<command type="select"
contextId="local-toolbar/shell/org.eclipse.swt.widgets.ToolBar#1 "
widgetId=" actionclass/org.eclipse.debug.internal.ui.launchConfiguratio ns.CreateLaunchConfigurationAction "/>
</shell>
</shell>
</macro>
Re: AGR Tab Folder problems [message #58173 is a reply to message #57978] Tue, 14 March 2006 20:24 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
I have noticed that AGR has problems resolving local toolbars of shells
(eventhough it works fine when resolving local toolbars of views and
editors).
I have opened the following defect to follow upon this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=131798

As a workaround you can use the context menu of a launch configuraiton type
to create a new launch configuraiton.

Thanks.

"Dave B." <dboltz@qnx.com> wrote in message
news:07e8e5aec45f5843ccf7413412813795$1@www.eclipse.org...
> I
Re: AGR Tab Folder problems [message #58222 is a reply to message #58173] Tue, 14 March 2006 20:58 Go to previous message
Eclipse UserFriend
Originally posted by: dboltz.qnx.com

Thanks for the reply Ali.

The workaround seems to work provided you don't select a type first. The
only problem with this is that the wrong type could be selected at runtime.
That being said I may still be able to use this workaround if I ensure that
the workspace I use is setup properly.



Thanks again,

Dave B.




"Ali Mehregani" <amehrega@ca.ibm.com> wrote in message
news:dv78u1$uap$1@utils.eclipse.org...
>I have noticed that AGR has problems resolving local toolbars of shells
> (eventhough it works fine when resolving local toolbars of views and
> editors).
> I have opened the following defect to follow upon this:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=131798
>
> As a workaround you can use the context menu of a launch configuraiton
> type
> to create a new launch configuraiton.
>
> Thanks.
>
> "Dave B." <dboltz@qnx.com> wrote in message
> news:07e8e5aec45f5843ccf7413412813795$1@www.eclipse.org...
>> I'm having problems while using AGR. Playback fails when I record the
>> creation of a run configuration. The error returned is that it cannot
>> locate shell control for the tabFolder#1. Below is a macro that will
>> produce the problem. I have also seen strange behavior while playing
>> back
>> the modification of a QNX C/C++ QConn (IP) config. It seems you can run
>> through the tabs but the contents of the tabs are never realized.
>> Therefore if you try to modify something within a tab it will fail on
>> playback saying the widget doesn't exist. Any ideas on what might be
>> happening?
>>
>> <macro version="0.1" >
>> <shell id="org.eclipse.ui.internal.WorkbenchWindow" return-code="-1">
>> <command type="select" contextId="menus"
>>
> widgetId=" org.eclipse.ui.internal.ActionSetContributionItem#{{&amp ;Run-Ru&am
> p;n...}}-{{0.8}}{{6|5}}-{{0.6}}{{false}}-{{0.1}}{{12}}-{{0.1 }}{{Run
>> A&amp;s}}-{{0.2}}{{separator}}-{{0.2}}"/>
>> <shell
>>
> id=" org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsD
> ialog"
>> return-code="-1">
>> <command type="item-select" contextId="shell"
>> widgetId="org.eclipse.swt.widgets.Tree#{{/}}-{{1.0}}">
>> <item
>>
> path=" org.eclipse.swt.widgets.TreeItem#{{org.eclipse.pde.ui}}-{{0. 2}}{{org.e
> clipse.debug.internal.core.sourcelookup.SourcePathComputer@e9d434}}-{{0.1}}{
> {null}}-{{0.1}}{{org.eclipse.pde.ui.RuntimeWorkbench}}-{{0.5 }} "/>
>> </command>
>> <command type="focus" contextId="shell"
>> widgetId="org.eclipse.swt.widgets.Tree#{{/}}-{{1.0}}"/>
>> <command type="choice-select" contextId="shell"
>> widgetId="org.eclipse.swt.widgets.TabFolder#1" choiceId="item#0"/>
>> <command type="select"
>> contextId="local-toolbar/shell/org.eclipse.swt.widgets.ToolBar#1 "
>>
> widgetId=" actionclass/org.eclipse.debug.internal.ui.launchConfiguratio ns.Cre
> ateLaunchConfigurationAction"/>
>> </shell>
>> </shell>
>> </macro>
>>
>>
>>
>>
>
>
Previous Topic:AGR 4.1.0.1 startup errors
Next Topic:Probes: invalid unicode
Goto Forum:
  


Current Time: Thu Mar 28 22:57:55 GMT 2024

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

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

Back to the top