error/warning marker "decorations"? [message #664417] |
Fri, 08 April 2011 17:48 |
Eclipse User |
|
|
|
Originally posted by: david.landry.gmail.com
Can SWTBot access error or warning markers? For example in the java
editor pane when there are errors (the little red "x" inthe left column.)
The app I'm testing (an eclipse plugin IDE for a specialized language)
also uses these types of "decorations" in the "Project Explorer" view
(similar to the "Package Explorer" view) by changing the icons used to
ones with little red "x"s in the lower left corner of each icon up the
tree. ... is it possible to determine information about those icons so I
can introduce an error in the source file, then check the Project
Explorer tree and see if the proper tree node icon is being used?
I'm guessing that if this is possible I'd have to have the developers
mark the change in icons explicitly with some changing property? But I
could be wrong.
Anyone doing anything like this?
Thanks
|
|
|
|
Re: error/warning marker "decorations"? [message #664940 is a reply to message #664462] |
Tue, 12 April 2011 13:57 |
Eclipse User |
|
|
|
Originally posted by: david.landry.gmail.com
Ketan Padegaonkar wrote:
> The problem markers are not directly available however, if you can have
> SWTBot look at the problem view for the markers and marker details (line
> number, message etc) to do something useful.
>
> You can also do IFile#findMarkers() to get a list of all markers
> programatically.
>
Thanks Ketan .. for this and the other answers you have provided.
Cheers
-Dave
|
|
|
Powered by
FUDForum. Page generated in 0.06055 seconds