Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

Eclipse plugin to invoke GUI menu option without IDE

Thread view: 
imichel - 06 Jun 2006 14:30 GMT
Hello,

 I have a 3rd party plugin that is normally triggered by a right-click
option on the eclipse IDE.  I'd like to be able to trigger the action
of this right-click option without opening up eclipse.  I haven't had
much plugin development experience, but it seems to me like the the
java code assosiated to the plugin needs to be an on API in order for
me to do this.  If this were the case I would create a plugin which
points to the appropriate class and invoke methods on it.  The API for
this plugin isn't open, so I face a problem of finding an alternate
solution.  I am wondering if any one has heard of a plugin that
simulates an IDE click or action as I want to do.

Thanks,

Ian Michel
Oliver Wong - 06 Jun 2006 17:10 GMT
> Hello,
>
[quoted text clipped - 8 lines]
> solution.  I am wondering if any one has heard of a plugin that
> simulates an IDE click or action as I want to do.

   Not sure I understand your question, so I'll paraphrase it, and you can
tell me if I got it right or not, okay?

   You've written an plugin for Eclipse, and it works fine within Eclipse.
Now there's some feature of that plugin which you would like to access
without actually running it as an Eclipse plugin. Perhaps you'd like to have
this functionality available from the command line, for example. Is this
correct?

   If so, you'd just need to add an entry point (a public static void
main() method) which makes a call to whatever method it is that implements
the desired feature.

   - Oliver
Dale King - 11 Jun 2006 01:42 GMT
> Hello,
>
[quoted text clipped - 8 lines]
> solution.  I am wondering if any one has heard of a plugin that
> simulates an IDE click or action as I want to do.

The plug-in should expose the action as an implementation of the
interface IAction. If you look at the plugin.xml for the plugin you will
likely find the name and details of the action spelled out. You will
have to dig in the platform plug-in developer's guide to learn more.

Signature

 Dale King



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.