how to launch non-resource editor from Problems view? [message #484843] |
Wed, 09 September 2009 09:40  |
Eclipse User |
|
|
|
Originally posted by: yoduderoo.netscape.net
Hi,
I have an editor that operates on data in a database, that is, not on
workbench resources. There is also a builder which checks on the
database and reports warnings and errors in the Problems view.
How to I implement my own "Go to" action in the problems view, such that
my editor is launched?
I realize this is basic, but I can't find the right documentation or
example.
Thanks, y
|
|
|
Re: how to launch non-resource editor from Problems view? [message #485067 is a reply to message #484843] |
Thu, 10 September 2009 09:09  |
Eclipse User |
|
|
|
Yodude wrote:
> Hi,
> I have an editor that operates on data in a database, that is, not on
> workbench resources. There is also a builder which checks on the
> database and reports warnings and errors in the Problems view.
> How to I implement my own "Go to" action in the problems view, such that
> my editor is launched?
> I realize this is basic, but I can't find the right documentation or
> example.
> Thanks, y
While creating your markers, set the attribute IDE.EDITOR_ID_ATTR with the
id of the editor you would like to open. Let the editor implement or
return an adapter to IGotoMarker. Implement IGotoMarker the way you'd like
to.
Hitesh
|
|
|
Powered by
FUDForum. Page generated in 0.03419 seconds