|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.ui.search.EObjectDescriptionContentProvider
public class EObjectDescriptionContentProvider
Constructor Summary | |
---|---|
EObjectDescriptionContentProvider()
|
Method Summary | |
---|---|
void |
dispose()
Disposes of this content provider. |
void |
inputChanged(org.eclipse.jface.viewers.Viewer viewer,
java.lang.Object oldInput,
java.lang.Object newInput)
Notifies this content provider that the given viewer's input has been switched to a different element. |
void |
updateElement(int index)
Called when a previously-blank item becomes visible in the TableViewer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EObjectDescriptionContentProvider()
Method Detail |
---|
public void dispose()
org.eclipse.jface.viewers.IContentProvider
The viewer should not be updated during this call, as it is in the process of being disposed.
dispose
in interface org.eclipse.jface.viewers.IContentProvider
public void inputChanged(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object oldInput, java.lang.Object newInput)
org.eclipse.jface.viewers.IContentProvider
A typical use for this method is registering the content provider as a listener to changes on the new input (using model-specific means), and deregistering the viewer from the old input. In response to these change notifications, the content provider should update the viewer (see the add, remove, update and refresh methods on the viewers).
The viewer should not be updated during this call, as it might be in the process of being disposed.
inputChanged
in interface org.eclipse.jface.viewers.IContentProvider
viewer
- the vieweroldInput
- the old input element, or null
if the viewer
did not previously have an inputnewInput
- the new input element, or null
if the viewer
does not have an inputpublic void updateElement(int index)
org.eclipse.jface.viewers.ILazyContentProvider
updateElement
in interface org.eclipse.jface.viewers.ILazyContentProvider
index
- The index that is being updated in the
table.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |