Re: How to open URL contents in editor. [message #481117] |
Wed, 19 August 2009 16:50 |
|
mkaditya wrote:
> Is there any way to open contents of a URL in editor instead of browser. For
> example if URL fetches XML contents i want to open it using XML editors.
Do you mean you want to do this as a user, or are you trying to
write a plug-in to do it?
--
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
|
Re: How to open URL contents in editor. [message #482737 is a reply to message #482639] |
Thu, 27 August 2009 17:38 |
|
mkaditya wrote:
>
> "mkaditya" <mkaditya@gmail.com> wrote in message
> news:h6hfjt$fh1$1@build.eclipse.org...
>> "Nitin Dahyabhai" <nitind@us.ibm.com> wrote in message
>> news:h6half$aiq$1@build.eclipse.org...
>>> mkaditya wrote:
>>>> Is there any way to open contents of a URL in editor instead of browser.
>>>> For example if URL fetches XML contents i want to open it using XML
>>>> editors.
>>> Do you mean you want to do this as a user, or are you trying to write a
>>> plug-in to do it?
>>>
>> I want to achieve that in WSDL editor hyperlinks.
>>
> Putting it this way, are there any extension points which can be
used to
> customize code navigation ??
Yes, there's an extension point for contributing hyperlink
detectors: org.eclipse.ui.workbench.texteditor.hyperlinkDetectors .
You would assign your own to one of the targets supported by the
WSDL Editor, and write it so that it opens its target as you wish; I
suspect that's "org.eclipse.wst.wsdl.wsdlsource".
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
Re: How to open URL contents in editor. [message #483996 is a reply to message #483355] |
Thu, 03 September 2009 20:33 |
|
mkaditya wrote:
> Thanx Nitin for your feedbacks. Your suggestion worked, however I ran into a
> issue. Now it is showing code navigation links both for opening in
> browser(which came from framework) and the one which i coded for. Is there
> any way to remove the navigation links provided by the framework ?
Not that I know of, but then I've not had a reason to try.
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.03536 seconds