Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow can I check wether a Figure is selected or not?
https://www.eclipse.org/forums/index.php/mv/msg/237882/720954/#msg_720954
There is no ub_fcv_checkFigureHasFocus or ub_fcv_checkFigureisSelected and using ub_fcv_checkFigureProperty with property "focus" or "selected" and matching it with true was a long shot and does not work, anyway.
So, can I somehow check the selection of a figure with Jubula?
How do I find out what kind of properties are available with ub_fcv_checkFigureProperty?
There is an example: For "width" and "height" properties, enter the value in pixels. How do I match boolean values? "true"/"false" and what value operator is useful for that? I would assume equals was enough?
Thx a lot!
Jörn]]>Joern Dreyer2011-08-31T14:39:33-00:00Re: How can I check wether a Figure is selected or not?
https://www.eclipse.org/forums/index.php/mv/msg/237882/721210/#msg_721210
The GEF documentation is unfortunately a little out of date at the moment, there's a bug for it: https://bugs.eclipse.org/bugs/show_bug.cgi?id=339506
We'd also like to get it up to date in terms of describing GEF extensions, but this won't be for SR1.
Generally, it comes down to writing a new action for the FigureCanvas component, but like I say, we don't have examples for this at the moment.
Best regards,
Alex]]>Alexandra Schladebeck2011-09-01T07:36:51-00:00