Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Adding doubleclick action through plugin.xml
Adding doubleclick action through plugin.xml [message #357385] Tue, 28 July 2009 12:25 Go to next message
Raghava Rao is currently offline Raghava RaoFriend
Messages: 87
Registered: July 2009
Member
Hello All,

I have a requirement,where i have to override doubleclick functionalty of
existing viewer.I should not create one more view/viewer.

For example:

In problem view on doubleclick editor will be opened.Without extending the
problem view ,i should be able to do override doubleclick functionality.

is it possible?if it is please let me know how it can be done.

Advance thanks for your reply.

Thanks,
Raghava
Re: Adding doubleclick action through plugin.xml [message #369878 is a reply to message #357385] Tue, 28 July 2009 23:53 Go to previous messageGo to next message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
You can tune this behavior in two ways that I know of:

1] Find the marker(s) that you are concerned with and and set an EDITOR_ID_ATTR attribute that will determine what editor to open.

2] Provide an IGotoMarker adapter for your editor so that you can control how the marker is revealed in the editor

For more info, see IDE.openEditor(...)

HTH
Ben
Re: Adding doubleclick action through plugin.xml [message #600040 is a reply to message #357385] Tue, 28 July 2009 23:53 Go to previous message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
You can tune this behavior in two ways that I know of:

1] Find the marker(s) that you are concerned with and and set an EDITOR_ID_ATTR attribute that will determine what editor to open.

2] Provide an IGotoMarker adapter for your editor so that you can control how the marker is revealed in the editor

For more info, see IDE.openEditor(...)

HTH
Ben
Previous Topic:Adding doubleclick action through plugin.xml
Next Topic:class files removed
Goto Forum:
  


Current Time: Thu Apr 25 00:35:25 GMT 2024

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

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

Back to the top