How to create plugin!!! [message #205455] |
Tue, 17 April 2007 12:54 |
Eclipse User |
|
|
|
Originally posted by: gongliaw.yahoo.com
Im new in this newsgroup and im doin my project with eclipse due to the
very famous plugin functionality.
with eclipse, i had done lots of example in creating a plugin. all of them
are quite simple and ive done doin simple action and display.
now the problem comes when i have a java code which can be compilied and
run under normal condition and i wanted to make it as a plugin.
Problem such as how do i add in my code into a plugin? how?
how to design a plugin that take my code? how?
my java program basically read in a file and process and output another
file. so how to create a plugin with it???
plz help... SOS... Thanx for the attention..
|
|
|
Re: How to create plugin!!! [message #205491 is a reply to message #205455] |
Tue, 17 April 2007 13:33 |
Eclipse User |
|
|
|
Originally posted by: irbull.cs.uvic.ca
I guess the main thing is, how do you want the plug-in to work? or why
do you want a plug-in? If you want to extend Eclipse to include an
action, that is, when you press a button in the IDE your code will do
its thing (parse the file, output it to another format), then you can
just extend the action extension point [1]. You should be able to move
your code into the plug-in project (copy-paste), and when the action
happens (in the action handler), simply call your code.
[1] http://devresource.hp.com/drc/technical_articles/ePlugIn/ind ex.jsp
Cheers,
ian
Gong wrote:
> Im new in this newsgroup and im doin my project with eclipse due to the
> very famous plugin functionality.
>
> with eclipse, i had done lots of example in creating a plugin. all of
> them are quite simple and ive done doin simple action and display.
> now the problem comes when i have a java code which can be compilied and
> run under normal condition and i wanted to make it as a plugin.
>
> Problem such as how do i add in my code into a plugin? how?
>
> how to design a plugin that take my code? how?
>
> my java program basically read in a file and process and output another
> file. so how to create a plugin with it???
>
> plz help... SOS... Thanx for the attention..
>
|
|
|
Powered by
FUDForum. Page generated in 0.08068 seconds