Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » how to launch non-resource editor from Problems view?
how to launch non-resource editor from Problems view? [message #484843] Wed, 09 September 2009 13:40 Go to next message
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 13:09 Go to previous message
Hitesh  is currently offline Hitesh
Messages: 19
Registered: July 2009
Junior Member
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
Previous Topic:Request from a foreign Student
Next Topic:Eclipse 3.5: Removing a jar from plugins/: equinox throws error
Goto Forum:
  


Current Time: Thu Oct 02 04:32:34 GMT 2014

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

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