|
Re: Open editor from custom view [message #1600770 is a reply to message #1600705] |
Wed, 04 February 2015 13:25 |
Fon Vitale Messages: 14 Registered: November 2011 |
Junior Member |
|
|
Hi,
Quote:How do I change the editor that is being opened when a marker has been opened?
You can associate the string ID of your editor onto your marker with IMarker's setAttribute(String, Object) method by using the EDITOR_ID_ATTR string constant defined in the IDE class as the attribute name.
marker.setAttribute(IDE.EDITOR_ID_ATTR, "com.example.xyz.editorID");
But I need to do some previous configurations, because the editor which I want to open does not match the resource of the marker.
[Updated on: Wed, 04 February 2015 13:40] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02988 seconds