Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Calling my jdt plugin from a class
Calling my jdt plugin from a class [message #689980] Tue, 28 June 2011 17:14 Go to next message
john doe is currently offline john doeFriend
Messages: 74
Registered: June 2011
Member
Hi. I'm completely new to building plugins in eclipse. I have built out a simple JDT plugin with an AbstractHandler that loops through all the projects in my workspace and prints out method names when a button is clicked. If works fine, however, I would like to invoke this functionality from a class if at all possible. Thus, I have 2 questions.

1. Can I invoke my plugin programmatically from some java source code in a class within a project?
2. Is it possible to use the Java Model classes (which are defined in org.eclipse.jdt.core) without building a plugin? More specifically, would I be able to just include a class in my project that does uses the jdt.core classes and run this as a java application?

Thanks
Re: Calling my jdt plugin from a class [message #695798 is a reply to message #689980] Tue, 12 July 2011 14:02 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 28.06.2011 19:14, john doe wrote:
> Hi. I'm completely new to building plugins in eclipse. I have built
> out a simple JDT plugin with an AbstractHandler that loops through all
> the projects in my workspace and prints out method names when a button
> is clicked. If works fine, however, I would like to invoke this
> functionality from a class if at all possible. Thus, I have 2 questions.
>
> 1. Can I invoke my plugin programmatically from some java source code
> in a class within a project?
Not sure what you want to do.
> 2. Is it possible to use the Java Model classes (which are defined in
> org.eclipse.jdt.core) without building a plugin? More specifically,
> would I be able to just include a class in my project that does uses
> the jdt.core classes and run this as a java application?
No.

Dani
>
> Thanks
Previous Topic:Implementing the Search operation
Next Topic:Line delimiter problem in configuration files.
Goto Forum:
  


Current Time: Tue Mar 19 06:04:10 GMT 2024

Powered by FUDForum. Page generated in 0.02391 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top