ICompilationUnit persistence [message #211505] |
Wed, 03 August 2005 18:46  |
Eclipse User |
|
|
|
Originally posted by: craig.officeextend.com
I'm writing an eclipse plug-in (an screen design editor) and I'm a
relative newbie. This can be a dangerous combination. At one point in my
code, I have a reference to an ICompilationUnit. I would like to find an
easy way to save some data about this unit into my proprietary XML. It
looks like I need to perhaps save the project name and some path
information. Then when the file is reopened, I'd like to again have
access to the same ICompilationUnit.
So something like:
<controller>
<controllerProject>
FooBar
</controllerProject>
<controllerPath>
com.expd.arch.TestController.java
</controllerPath>
</controller>
Can someone point me to the correct API calls to make this happen?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04140 seconds