|
Re: Shortcut-Usage leading to "InvocationTargetException" [message #141244 is a reply to message #141233] |
Mon, 16 March 2009 10:26 |
Paul Slauenwhite Messages: 975 Registered: July 2009 |
Senior Member |
|
|
Hi Yoe,
Yes, the AGR does not support keyboard shortcut in all cases (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=111714). The work-around is
to use the mouse to select the menu item.
Paul
"yoe " <yoe@live.de> wrote in message
news:f966ebda7dc2f41da4f1549e3f7ea539$1@www.eclipse.org...
> Hi there!
>
> I'm faceing problems while trying to get a test done, using the shortcut
> Alt+Shift+N (new File/Project under Eclipse for Windows).
>
> The AGR seems not to be able to finde the "New-File" Menu, because, I'm
> getting an exception (InvocationTargetException; Stack-Trace starting with
> "Cannot locate menu item {{Project...}}-{{1.0}}")
>
> The Macro looks like that:
>
> <command type="key-down" detail="65536" ischarset="false"/>
> <command type="key-down" detail="131072" ischarset="false"/>
> <command type="key-down" detail="110" ischarset="true"/>
> <command type="wait"/>
> <command type="key-up" detail="110" ischarset="true"/>
> <command type="key-up" detail="131072" ischarset="false"/>
> <command type="key-up" detail="65536" ischarset="false"/>
>
> <command descriptive="Project..." type="select"
> resolverId="org.eclipse.tptp.test.auto.gui.nontrivial"
> contextId=" popup/editor/org.eclipse.hyades.test.ui.editor.TestSuiteEdit orPart/SPQRTestSuite.testsuite/org.eclipse.swt.custom.Styled Text#1 "
> widgetId="{{Project...}}-{{1.0}}"/>
>
> While running the testcase, the "New-File" Menu pops up (so, the shortcut
> is working), but is waiting for an userinput at the file-menu.
>
> Anybody got a solution or a workaround for this problem?!?!
>
> thx in advance,
> yoe
>
|
|
|
Powered by
FUDForum. Page generated in 0.02984 seconds