Skip to main content


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 UserFriend
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 Friend
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 Apr 25 17:04:33 GMT 2024

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

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

Back to the top