|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that defines an model object that can
produce CGClassLoader
objects representing a
classpath.
This is the plugin interface required to add additional
classpath sources to Classpath Helper
.
ClassPathModelMultiplexer
will register
itself with all instances of this model, allowing it to receive
notifications of classpath changes or creation.IClassPathChangeListener
events.AbstractClassPathModel
, which implements the basic listener
registration methods.classpathhelper.eclipse.ui.classpathmodels
extension point.
Method Summary | |
void |
addClassPathChangeListener(IClassPathChangeListener changeListener)
Registers a classpath change listener with this model object. |
boolean |
removeClassPathChangeListener(IClassPathChangeListener changeListener)
Deregisteres a classpath change listener with this model object. |
void |
reset()
Method that requests that this model reset (and resend) its classpath, clearing any internal caching. |
void |
startClassPathListening()
Method called to indicate that this model is the selected model and should start sending classpath change events. |
void |
stopClassPathListening()
Method called to indicate that this model is nolonger the selected model and can clean up any listeners it has started (as well as any caching. |
Method Detail |
public void startClassPathListening()
Method called to indicate that this model is the selected model and should start sending classpath change events. If a model needs to attach any listeners this is a good point to do so.
A model should also use this call send its initial
class loader via its IClassPathChangeListener
objects.
public void stopClassPathListening()
public void reset()
public void addClassPathChangeListener(IClassPathChangeListener changeListener)
changeListener
- The listener.public boolean removeClassPathChangeListener(IClassPathChangeListener changeListener)
changeListener
- The listener to remove.
true
If the listener was found, false
If the listener was not found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |