intercept the AST of the file in the current java editor? [message #157062] |
Mon, 03 May 2004 18:36 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03056 seconds