|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.compare.ui.viewer.structure.ModelStructureContentProvider
public class ModelStructureContentProvider
Structure viewer used by the ModelStructureMergeViewer
. Assumes that its input is a DiffModel
.
Field Summary | |
---|---|
protected org.eclipse.compare.CompareConfiguration |
configuration
CompareConfiguration controls various aspect of the GUI elements. |
protected java.lang.Object |
input
Result of the underlying comparison. |
Constructor Summary | |
---|---|
ModelStructureContentProvider(org.eclipse.compare.CompareConfiguration compareConfiguration)
Instantiates a content provider given the CompareConfiguration to use. |
Method Summary | |
---|---|
void |
dispose()
|
java.lang.Object[] |
getChildren(java.lang.Object parentElement)
|
java.lang.Object[] |
getElements(java.lang.Object inputElement)
|
java.lang.Object |
getParent(java.lang.Object element)
|
boolean |
hasChildren(java.lang.Object element)
|
void |
inputChanged(org.eclipse.jface.viewers.Viewer viewer,
java.lang.Object oldInput,
java.lang.Object newInput)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.eclipse.compare.CompareConfiguration configuration
CompareConfiguration
controls various aspect of the GUI elements. This will keep track of the
one used to created this compare editor.
protected java.lang.Object input
DiffModel
or DiffResourceSet
.
Constructor Detail |
---|
public ModelStructureContentProvider(org.eclipse.compare.CompareConfiguration compareConfiguration)
CompareConfiguration
to use.
compareConfiguration
- CompareConfiguration
used for this comparison.Method Detail |
---|
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IContentProvider
IContentProvider.dispose()
public java.lang.Object[] getChildren(java.lang.Object parentElement)
getChildren
in interface org.eclipse.jface.viewers.ITreeContentProvider
ITreeContentProvider.getChildren(Object)
public java.lang.Object[] getElements(java.lang.Object inputElement)
getElements
in interface org.eclipse.jface.viewers.IStructuredContentProvider
getElements
in interface org.eclipse.jface.viewers.ITreeContentProvider
IStructuredContentProvider.getElements(Object)
public java.lang.Object getParent(java.lang.Object element)
getParent
in interface org.eclipse.jface.viewers.ITreeContentProvider
ITreeContentProvider.getParent(Object)
public boolean hasChildren(java.lang.Object element)
hasChildren
in interface org.eclipse.jface.viewers.ITreeContentProvider
ITreeContentProvider.hasChildren(Object)
public void inputChanged(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object oldInput, java.lang.Object newInput)
inputChanged
in interface org.eclipse.jface.viewers.IContentProvider
IContentProvider.inputChanged(Viewer, Object, Object)
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |