|
JIVE Platform Release 0.2.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.buffalo.cse.jive.ui.AbstractStructuredJiveView.AbstractJiveContentProvider
public abstract class AbstractStructuredJiveView.AbstractJiveContentProvider
An abstract content provider used to provide model elements associated
with IJiveDebugTargets. Methods for providing model elements to
the viewer, registering with a model, and unregistering from a model are
to be implemented by derived classes. These methods will be called at
the appropraite time by this class.
getModelElements(IJiveDebugTarget),
registerWithModel(IJiveDebugTarget),
unregisterFromModel(IJiveDebugTarget)| Constructor Summary | |
|---|---|
AbstractStructuredJiveView.AbstractJiveContentProvider()
|
|
| Method Summary | |
|---|---|
Object[] |
getElements(Object inputElement)
|
protected abstract Object[] |
getModelElements(IJiveDebugTarget target)
Returns the model elements that should be provided to the viewer when the input has changed. |
void |
inputChanged(Viewer viewer,
Object oldInput,
Object newInput)
|
protected abstract void |
registerWithModel(IJiveDebugTarget newInput)
Registers itself as a listener to a model of the supplied IJiveDebugTarget. |
protected abstract void |
unregisterFromModel(IJiveDebugTarget oldInput)
Unregisters itself from being a listener to a model of the supplied IJiveDebugTarget. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.viewers.IContentProvider |
|---|
dispose |
| Constructor Detail |
|---|
public AbstractStructuredJiveView.AbstractJiveContentProvider()
| Method Detail |
|---|
public final void inputChanged(Viewer viewer,
Object oldInput,
Object newInput)
inputChanged in interface IContentProviderpublic final Object[] getElements(Object inputElement)
getElements in interface IStructuredContentProviderprotected abstract void registerWithModel(IJiveDebugTarget newInput)
IJiveDebugTarget. This method is called by
inputChanged(Viewer, Object, Object) after calling
unregisterFromModel(IJiveDebugTarget) with the old input as
the parameter.
newInput - the new input of the content providerinputChanged(Viewer, Object, Object)protected abstract void unregisterFromModel(IJiveDebugTarget oldInput)
IJiveDebugTarget. This method is called by
inputChanged(Viewer, Object, Object) before calling
registerWithModel(IJiveDebugTarget) with the new input as
the parameter.
oldInput - the new input of the content providerinputChanged(Viewer, Object, Object)protected abstract Object[] getModelElements(IJiveDebugTarget target)
target - the input of the content provider
getElements(Object),
inputChanged(Viewer, Object, Object)
|
JIVE Platform Release 0.2.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||