Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Plugging into PDT 2.0 AST
Plugging into PDT 2.0 AST [message #79058] Tue, 26 August 2008 12:31 Go to next message
Pawel Przeradowski is currently offline Pawel PrzeradowskiFriend
Messages: 1
Registered: July 2009
Junior Member
Hi.

First of all I dont know if I'm sending that to correct maillist but I
hope someone would help me. I'd like to plug into PDT's AST and watch
certain files for AST changes. I'm particullary intertested in watching
some classes methods in my builder - their names and how they change
through time and display some "derived" tree in my view. I could not find
much resources on which extension point I should look into and which
classes and interfaces I should pay attention to. Can you point me where I
could find necessary information? Any advices much appreciated.
Re: Plugging into PDT 2.0 AST [message #79080 is a reply to message #79058] Wed, 27 August 2008 19:18 Go to previous messageGo to next message
Roy Ganor is currently offline Roy GanorFriend
Messages: 149
Registered: July 2009
Senior Member
there are two main articles you can find regrading this issue, links
available at http://www.eclipse.org/pdt/articles/articles.php

a kick start plugin is
http://www.eclipse.org/pdt/articles/astview/astview.php

Good luck,
Roy


> Hi.

> First of all I dont know if I'm sending that to correct maillist but I
> hope someone would help me. I'd like to plug into PDT's AST and watch
> certain files for AST changes. I'm particullary intertested in watching
> some classes methods in my builder - their names and how they change
> through time and display some "derived" tree in my view. I could not find
> much resources on which extension point I should look into and which
> classes and interfaces I should pay attention to. Can you point me where I
> could find necessary information? Any advices much appreciated.
Re: Plugging into PDT 2.0 AST [message #79668 is a reply to message #79058] Sun, 07 September 2008 11:14 Go to previous message
Eclipse UserFriend
Originally posted by: michael.zend.com

Hi,

I think IElementChangedListener is sufficient for your needs, correct me if
I'm wrong...
IElementChangeListener is called when there where some change in model
element (file, class, method, field).
For more information look at:

IElementChangedListener
IModelElementDelta
DLTKCore.addElementChangedListener()


"Pawe&#322; Przeradowski" <showerproof86@gmail.com> wrote in message
news:33b3ec1f14e5b590b1508daec8d205c3$1@www.eclipse.org...
> Hi.
>
> First of all I dont know if I'm sending that to correct maillist but I
> hope someone would help me. I'd like to plug into PDT's AST and watch
> certain files for AST changes. I'm particullary intertested in watching
> some classes methods in my builder - their names and how they change
> through time and display some "derived" tree in my view. I could not find
> much resources on which extension point I should look into and which
> classes and interfaces I should pay attention to. Can you point me where I
> could find necessary information? Any advices much appreciated.
>
Previous Topic:PDT 2.0 "Show variables from other files" is slow and cannot be turned off
Next Topic:PDT 2.0.0 N20080823: Auto-Completion for class interfaces doesn't work
Goto Forum:
  


Current Time: Thu Apr 25 16:05:18 GMT 2024

Powered by FUDForum. Page generated in 0.03047 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top