[pdt-dev] Ctrl + Click on String Scalars

2009-12-03 Thread Robert Gründler

Hi all,

i was looking at the CTRL + click example using the phpIndexingVisitors 
extension point, and i'm
wondering if it's possible to add CTRL + click support for String 
Scalars, ie Arguments to methods:


ClassRegistry::init('MyClass');

In this case, i would like to open the SourceModule containing the type 
'MyClass' when CTRL-clicking

on it.


Anyone knows if this should be possible ?


thanks !


-robert
___
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev


Re: [pdt-dev] Ctrl + Click on String Scalars

2009-12-03 Thread Michael Spector
Hi,

Yes, have a look at
org.eclipse.php.internal.ui.editor.hyperlink.IncludeHyperlinkDetector as an
example.

Best regards,
Michael

2009/12/3 Robert Gründler 

> Hi all,
>
> i was looking at the CTRL + click example using the phpIndexingVisitors
> extension point, and i'm
> wondering if it's possible to add CTRL + click support for String Scalars,
> ie Arguments to methods:
>
> ClassRegistry::init('MyClass');
>
> In this case, i would like to open the SourceModule containing the type
> 'MyClass' when CTRL-clicking
> on it.
>
>
> Anyone knows if this should be possible ?
>
>
> thanks !
>
>
> -robert
> ___
> pdt-dev mailing list
> pdt-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/pdt-dev
>
___
pdt-dev mailing list
pdt-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/pdt-dev