AJDT StructureModel [message #19628] |
Fri, 25 April 2003 07:01  |
Eclipse User |
|
|
|
Originally posted by: stoerzer.infosun.fmi.uni-passau.de
Hi everybody!
Is there some sample code around how to consistently access the
StructurModel of a given AspectJ file?
I tried to figure it out by reading some source and managed to get the
model, but it is empty, so I guess I missed something...
Thanks for help,
Max
|
|
|
|
Re: AJDT StructureModel [message #19968 is a reply to message #19673] |
Wed, 07 May 2003 07:22  |
Eclipse User |
|
|
|
Originally posted by: stoerzer.infosun.fmi.uni-passau.de
Hi Adrian!
Thanks for the hints - reading code often helps ;o)
CU
Max
Adrian Colyer wrote:
>>Is there some sample code around how to consistently access the
>>StructurModel of a given AspectJ file?
>
>
> AJDT makes use of the AspectJ structure in order to display the contents
> of the outline view and for the visualiser.
>
> The FAQ here:
> http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/org. eclipse.ajdt/faq.html?rev=1.2&content-type=text/html
> describes how to access the source for AJDT (see questions 4.2 and 4.3).
> In particular, the package org.eclipse.ajdt.internal.core and the class
> org.eclipse.ajdt.internal.ui.editor.AspectJContentOutlinePag e show how we
> interact with the structure model.
>
> The model itself is defined in the AspectJ project
> (http://www.eclipse.org/aspectj) where you'll find the org.aspectj.asm
> package.
>
> Regards,
> Adrian.
|
|
|
|
Re: AJDT StructureModel [message #566164 is a reply to message #19673] |
Wed, 07 May 2003 07:22  |
Eclipse User |
|
|
|
Hi Adrian!
Thanks for the hints - reading code often helps ;o)
CU
Max
Adrian Colyer wrote:
>>Is there some sample code around how to consistently access the
>>StructurModel of a given AspectJ file?
>
>
> AJDT makes use of the AspectJ structure in order to display the contents
> of the outline view and for the visualiser.
>
> The FAQ here:
> http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/org. eclipse.ajdt/faq.html?rev=1.2&content-type=text/html
> describes how to access the source for AJDT (see questions 4.2 and 4.3).
> In particular, the package org.eclipse.ajdt.internal.core and the class
> org.eclipse.ajdt.internal.ui.editor.AspectJContentOutlinePag e show how we
> interact with the structure model.
>
> The model itself is defined in the AspectJ project
> (http://www.eclipse.org/aspectj) where you'll find the org.aspectj.asm
> package.
>
> Regards,
> Adrian.
|
|
|
Powered by
FUDForum. Page generated in 0.03471 seconds