[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: How to open URL contents in editor.

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 ?

Regards,
M.K.Aditya.

"Nitin Dahyabhai" <nitind@xxxxxxxxxx> wrote in message 
news:h76ga5$2ic$2@xxxxxxxxxxxxxxxxxxxx
> mkaditya wrote:
>>
>> "mkaditya" <mkaditya@xxxxxxxxx> wrote in message 
>> news:h6hfjt$fh1$1@xxxxxxxxxxxxxxxxxxxx
>>> "Nitin Dahyabhai" <nitind@xxxxxxxxxx> wrote in message 
>>> news:h6half$aiq$1@xxxxxxxxxxxxxxxxxxxx
>>>> 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