Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Click OutlineViewButton via Jubula
Click OutlineViewButton via Jubula [message #1535392] Mon, 29 December 2014 12:41 Go to next message
Eclipse UserFriend
Hi all
Has any body an idea how I could manage to click an outline view button via/within Jubula?
I'm not able to map the outline buttons with the Jubula Object Mapping Mode tool.
Is there a way at all? The outline button seems to be rather a link than a button or toolbar item.
TIA
Daniele
Re: Click OutlineViewButton via Jubula [message #1536354 is a reply to message #1535392] Tue, 30 December 2014 01:42 Go to previous messageGo to next message
Eclipse UserFriend
Are you using SWT or Swing (Rayo Look and Feel or Nimbus)?

Even better: to be sure that we are speaking of the same, can you post a small screenshot of the button you try to map?
Re: Click OutlineViewButton via Jubula [message #1536626 is a reply to message #1536354] Tue, 30 December 2014 05:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jeremie

I'm using SWT. Buttons look like this:
index.php/fa/20331/0/
or see attachment.
Re: Click OutlineViewButton via Jubula [message #1548913 is a reply to message #1536626] Tue, 06 January 2015 02:57 Go to previous messageGo to next message
Eclipse UserFriend
I have cross posted your question on the Jubula forum.
Re: Click OutlineViewButton via Jubula [message #1549187 is a reply to message #1548913] Tue, 06 January 2015 06:20 Go to previous messageGo to next message
Eclipse UserFriend
Hi Daniele,

Are the components buttons? If they inherit from SWT Button, then they should be mappable (but I assume they're not Wink ) can you post a snippet of what the component looks like internally? Is it a standard SWT component or from another library / self written?

Thanks!
Alex
Re: Click OutlineViewButton via Jubula [message #1549538 is a reply to message #1549187] Tue, 06 January 2015 10:40 Go to previous messageGo to next message
Eclipse UserFriend
Some details on the component:

From a Scout point of view the widget proposed by Daniele is using a SnapBox.

From an SWT point of view the widget is implemented using Nebula collapsiblebuttons (notice that the implementation is not part of the Open-Source Scout). From what I see in the code, the classes involved are:
* org.eclipse.nebula.widgets.collapsiblebuttons.ButtonListenerAdapter
* org.eclipse.nebula.widgets.collapsiblebuttons.CollapsibleButtons
* org.eclipse.nebula.widgets.collapsiblebuttons.CustomButton

Is Jubula capable of detecting those widgets?
Re: Click OutlineViewButton via Jubula [message #1553077 is a reply to message #1549538] Thu, 08 January 2015 08:37 Go to previous message
Eclipse UserFriend
Here the cross post from the Jubula forum:
Thanks for the additional information Jeremie. I've chatted with the guys here and it should be fairly easy to write an extension for either the individual buttons (easier) or to address the component as a more complex unity (such as a tabbed component, allowing each button to be clicked via its title or index -slightly less easy). The extension manual that is installed with the standalone version and also downloadable from the testing portal [1] provides information on how to write an extension. For assistance with any problems, feel free to write to the rc-dev-list. There's always the option to have the team write an extension for specific components as well - just contact us via the testing portal to start the conversation. At the moment, we don't have support for the nebula widgets in the standalone, though we have written extensions for other users for their specific cases.

Thanks for bringing it to our attention.

Best regards,
Alex
[1] http://testing.bredex.de/sw-doku-downloads.html
Previous Topic:Exception by Export Scout Project
Next Topic:How to update a tree in a tree field?
Goto Forum:
  


Current Time: Sat Oct 25 17:09:25 EDT 2025

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

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

Back to the top