Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Class visible outside of plugin in workspace(Annotation usable inside workspace from plugin)
Class visible outside of plugin in workspace [message #660533] Fri, 18 March 2011 18:11 Go to next message
JIV  is currently offline JIV
Messages: 3
Registered: March 2011
Junior Member
Hello, i created custom annotation in my plugin project, which i use for controlling plugin interaction with workspace project source code. Problem is this Annotation isnt visible in workspace when plugin is installed, is there any way to make this class visible and usable in workspace? thanks for reply.
Re: Class visible outside of plugin in workspace [message #661875 is a reply to message #660533] Mon, 28 March 2011 07:16 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6850
Registered: July 2009
Location: Ottawa
Senior Member

You want to do annotations processing, or you want to simply use the
annotation at runtime in your code?

Annotation processing is done by APT, part of JDT (see
http://help.eclipse.org/ > Java Developer User Guide).

Regardless, I believe the annotation has to be in your plugin classpath
for you to see it in the workspace, no?

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:Creating the Dependent plugins
Next Topic:Trouble installing CDT plugin
Goto Forum:
  


Current Time: Wed Apr 23 17:43:14 EDT 2014

Powered by FUDForum. Page generated in 0.05942 seconds