[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] PHPSourceElementRequestorExtension unresolvable dependency on org.eclipse.dltk.ast.ASTVisitor


Add org.eclipse.dltk.core to your plug-in dependencies.

Best regards,

On Mon, Jul 20, 2009 at 5:37 PM, Sjaak Eenhuis <exceptione@xxxxxxxxxxx> wrote:
I've problems implementing an extension point for pdt.

What I want to do is to add a hidden typed variable to some source files. Maybe the PHPSourceElementRequestorExtension point isn't the right place to do so, but anyways.

I can select "org.eclipse.php.core.phpSourceElementRequestors" from the available extensions, but adding your own class requires to edit plugin.xml manually.
Eclipse warns that no schema is found for this extension point (See attachment)

When I have this definition

            class="com.company.plugin.my.MySourceElementRequestor ">


and this code,

public class MySourceElementRequestor extends PHPSourceElementRequestorExtension  {


eclipse warns that

The type org.eclipse.dltk.ast.ASTVisitor cannot be resolved. It is indirectly referenced from required .class files.

I was not able to correct this via the build path.
How can I correct this?

Minder SPAM in de verbeterde Windows Live Hotmail

pdt-dev mailing list