Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] extending JDT with a non-UI related feature


Are you saying that you cannot find how to add a listener, or that the JDT core listener mechanism doesn't suit your needs?  You can listen for changes to the Java model using JavaCore.addElementChangeListener(IElementChangeListener). Although there is not much documentation outside of the javadoc, JDT Core has extensive APIs for manipulating Java elements in a non-UI (headless) environment. I suggest going into more detail on what you are looking for on the eclipse.platform.jdt newsgroup - there are many knowledgable people there who can point you in the right direction.
--



Michael Kovacs <chi3f_wahoo@xxxxxxxxx>
Sent by: jdt-core-dev-admin@xxxxxxxxxxx

08/12/2004 07:25 PM

Please respond to
jdt-core-dev

To
jdt-core-dev@xxxxxxxxxxx
cc
Subject
[jdt-core-dev] extending JDT with a non-UI related feature





Hi there again,

I took a look at the Eclipse developers book that's
out there as
well as read up on the various documents, readmes,
blogs, etc
and it appears that JDT itself is only extensible in
that you can
create new views, actions, etc.  What I'm wondering is
how would
one go about extending JDT to add something that's
independent of
any of the views?  For example, if I wanted to add an
element listener
to JavaCore that is created and registered when the
JDT is active
how would I go about doing so?  The extension points
for the JDT
just don't seem to be there for this kind of feature.
I have to add
listeners from within an action or a view which is
limiting for what
I want to do.  Any advice or confirmation that what
I'm saying is
is true?  Is there something that I'm missing?  Thanks
for any
help insight.

-Michael



                                 
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-core-dev


Back to the top