How to reference plugin classes from project editor? [message #258937] |
Tue, 03 March 2009 17:09 |
Eclipse User |
|
|
|
Hi,
This i my first post so please pardon me if i make errors. Currently i
have developed a plugin which does the following :-
First it locates data generators in the an external system and creates the
java equivalent by creating instances of the data generator class in the
plugin. E.g IntegerGenerator, BooleanGenerator etc. This all works fine
and the view is able to see all the data generators in my plugin.
However i need to reference these generated classes from the project
editor. E.g the user will be able to code IntegerGenerator.generate() in
their java files and it will be resolved to the classes that exist in my
plugin classpath.
Is this possible? One other way that i thought about how to do this is to
create the .java equivalent of the generator classes, compile them and
bundle into a jar so the user can add to the project workspace. But then i
am facing problems trying to compile it within my plugin. Can anyone help?
Thanks in advance
|
|
|
Powered by
FUDForum. Page generated in 0.25095 seconds