Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » intercept the AST of the file in the current java editor?
intercept the AST of the file in the current java editor? [message #157062] Mon, 03 May 2004 18:36 Go to next message
Eclipse UserFriend
Originally posted by: lshan.imail.eecs.berkeley.edu

Hi Eclipse masters,

I am wonder how i can intercept the AST of the java file in the current java
editor? Is there a chance i can intercept it? or maybe even modify it?? I
want to add my own refactoring feature to the current java editor. Would you
please point me to some articles or sample code?

Thank you ver much.

Lexin
Re: intercept the AST of the file in the current java editor? [message #171800 is a reply to message #157062] Wed, 04 August 2004 16:07 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Lexin Shan wrote:

>Hi Eclipse masters,
>
>I am wonder how i can intercept the AST of the java file in the current java
>editor? Is there a chance i can intercept it?
>
No.

> or maybe even modify it??
>
No.

> I
>want to add my own refactoring feature to the current java editor.
>
The current refactorings are performed on saved files. When your
refactoring is triggered you can ask for the AST(s) and perform the
refactoring. Look at the refactorings provided by JDT UI.

Dani

>Would you
>please point me to some articles or sample code?
>
>Thank you ver much.
>
>Lexin
>
>
>
>
Previous Topic:JAVA classes help
Next Topic:Search foreground background colors - How to set ?
Goto Forum:
  


Current Time: Thu Jul 25 18:45:33 GMT 2024

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

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

Back to the top