Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsStore title of tab
https://www.eclipse.org/forums/index.php/mv/msg/655735/1252750/#msg_1252750
In our RCP/SWT application we have a tabbed component of which the tab titles contain dynamically created key values.
Later on in the test case I need these key values, so I was searching for a possibility to store these key values in a variable - without any luck so far.
Is there a solution available right now or would it be possible to enhance the Tabbed Component to offer an action like 'Store selected Tab Title'?
TIA
Daniele]]>daniele fochetti2014-02-21T15:14:46-00:00Re: Store title of tab
https://www.eclipse.org/forums/index.php/mv/msg/655735/1256293/#msg_1256293
you can use the unbound_module storeValue. If you have an idea for a feature like "Store selected Tab Title" we are highly welcome a patch.
Hope that helps,
Ajantha]]>Ajantha Yogamoorthy2014-02-25T09:26:05-00:00Re: Store title of tab
https://www.eclipse.org/forums/index.php/mv/msg/655735/1257644/#msg_1257644
For me the simplest solution would be extending some how org.eclipse.jubula.rc.common.tester.TabbedPanTester since this class already is dealing with the tab title.
I tried with the help of the Functional Testing Extension Manual to implement my own Tester Class TabbedPaneCustTester extending TabbedPanTester.
Unfortunately without success.
I have to admit that I'm new to the whole RCP/Eclipse/Plugin/Feature thema.
I created a Plugin Projcet containing a TookitProvider extending abstractToolkitProvider, an Activator and some i18n properties.
In the same project I put the ComponentConfiguration.xml file. See attachment.
I'm not sure with the declaration of the extensions for the Plugin. What do I have to declare there. See attachment.
I created the feature and placed the previously created Plugin to be packaged in the feature. See attachment.
My target platform references the jubula installation and the development/extension-toolkit-rc.zip. The features org.eclipse.jubula.feature and org.eclipse.rcp and many more are selected.
I hope you can give me some more advice.
TIA
Daniele]]>daniele fochetti2014-02-26T17:02:01-00:00Re: Store title of tab
https://www.eclipse.org/forums/index.php/mv/msg/655735/1258258/#msg_1258258
The best place to look for help on this would be in the jubula rc-dev archives or even the jubula-dev archives. There have been a lot of threads there where we've helped out with extensions. If you don't find any answer in the threads, start a new one in the jubula rc-dev mailing list.
Bear in mind as well that you can also have the team implement it for you if you want to do it that way [1].