## Uses of Interface
org.eclipse.emf.compare.diff.metamodel.DiffElement

Packages that use DiffElement
org.eclipse.emf.compare.diff.engine: Provides a generic diff engine.
org.eclipse.emf.compare.diff.merge: Provides merge services for models.
org.eclipse.emf.compare.diff.merge.service: Provides merging service for EMF Compare.
org.eclipse.emf.compare.diff.metamodel
org.eclipse.emf.compare.diff.metamodel.impl
org.eclipse.emf.compare.diff.metamodel.util
org.eclipse.emf.compare.ui: This package provides the GUI components used to display EMF Compare's comparison results.
org.eclipse.emf.compare.ui.viewer.content: Provides EMF Compare's specific implementation of a ContentMergeViewer.
org.eclipse.emf.compare.ui.viewer.content.part: Provides the graphical components of the `ModelContentMergeViewer`.
org.eclipse.emf.compare.ui.viewer.content.part.diff: Provides the tab folder displaying the model tree and the associated differences markers.
org.eclipse.emf.compare.ui.viewer.content.part.property: Provides the tab folder displaying the model elements' properties and their associated differences markers.

Uses of DiffElement in org.eclipse.emf.compare.diff.engine

Methods in org.eclipse.emf.compare.diff.engine with parameters of type DiffElement
`protected void` `GenericDiffEngine.addInContainerPackage(DiffGroup root, DiffElement operation, org.eclipse.emf.ecore.EObject targetParent)` Looks for an already created `diff group` in order to add the operation, if none exists, create one where the operation belongs to.

Uses of DiffElement in org.eclipse.emf.compare.diff.merge

Fields in org.eclipse.emf.compare.diff.merge declared as DiffElement
`protected DiffElement` `DefaultMerger.diff` `DiffElement` to be merged by this merger.

Methods in org.eclipse.emf.compare.diff.merge that return types with arguments of type DiffElement
`java.util.List<DiffElement>` `MergeEvent.getDifferences()` Returns the DiffElement(s) targeted by the underlying operation.
`java.util.Map<java.lang.Class<? extends DiffElement>,java.lang.Class<? extends IMerger>>` `IMergerProvider.getMergers()` This will be called by the merge factory to get a list of all the mergers associated to a given `DiffElement`.

Methods in org.eclipse.emf.compare.diff.merge with parameters of type DiffElement
`protected void` `DefaultMerger.removeFromContainer(DiffElement diffElement)` Removes a `DiffElement` from its `DiffGroup`.
`void` `IMerger.setDiffElement(DiffElement element)` Sets the `DiffElement` to be merged.
`void` `DefaultMerger.setDiffElement(DiffElement element)` Sets the `DiffElement` to be merged.

Constructors in org.eclipse.emf.compare.diff.merge with parameters of type DiffElement
`MergeEvent(DiffElement diff)` Constructs a new merge event given the `IMerger` in charge and a single target `DiffElement`.

Constructor parameters in org.eclipse.emf.compare.diff.merge with type arguments of type DiffElement
`MergeEvent(java.util.List<DiffElement> diffs)` Constructs a new merge event given the `IMerger` in charge and a list of targeted `DiffElement`s.

Uses of DiffElement in org.eclipse.emf.compare.diff.merge.service

Methods in org.eclipse.emf.compare.diff.merge.service with parameters of type DiffElement
`static IMerger` `MergeFactory.createMerger(DiffElement element)` Handles the creation of the merger for a given `DiffElement`.
`protected static void` `MergeService.doMerge(DiffElement element, boolean leftToRight)` Applies the changes implied by a given `DiffElement` in the direction specified by `leftToRight`.
`protected static void` `MergeService.fireMergeDiffEnd(DiffElement diff)` Notifies all registered listeners that a `DiffElement` has just been merged.
`protected static void` `MergeService.fireMergeDiffStart(DiffElement diff)` Notifies all registered listeners that a DiffElement is about to be merged.
`protected static void` `MergeService.fireMergeOperationEnd(DiffElement diff)` Notifies all registered listeners that a merge operation on a single diff just ended.
`protected static void` `MergeService.fireMergeOperationStart(DiffElement diff)` Notifies all registered listeners that a merge operation is about to start for a single diff.
`static EMFCompareEObjectCopier` `MergeService.getCopier(DiffElement diff)` Returns the copier given the diff it should merge.
`static void` `MergeService.merge(DiffElement element, boolean leftToRight)` Merges a single DiffElement in the direction specified by `leftToRight`.

Method parameters in org.eclipse.emf.compare.diff.merge.service with type arguments of type DiffElement
`protected static void` `MergeService.fireMergeOperationEnd(java.util.List<DiffElement> diffs)` Notifies all registered listeners that a merge operation has ended for a list of differences.
`protected static void` `MergeService.fireMergeOperationStart(java.util.List<DiffElement> diffs)` Notifies all registered listeners that a merge operation is about to start for a list of differences.
`static void` `MergeService.merge(java.util.List<DiffElement> elements, boolean leftToRight)` Merges a list of DiffElements in the direction specified by `leftToRight`.

Uses of DiffElement in org.eclipse.emf.compare.diff.metamodel

Subinterfaces of DiffElement in org.eclipse.emf.compare.diff.metamodel
`interface` `AttributeChange` A representation of the model object 'Attribute Change'.
`interface` `AttributeChangeLeftTarget` A representation of the model object 'Attribute Change Left Target'
`interface` `AttributeChangeRightTarget` A representation of the model object 'Attribute Change Right Target'
`interface` `ConflictingDiffElement` A representation of the model object 'Conflicting Diff Element'
`interface` `DiffGroup` A representation of the model object 'Group'.
`interface` `ModelElementChange` A representation of the model object 'Model Element Change'
`interface` `ModelElementChangeLeftTarget` A representation of the model object 'Model Element Change Left Target'
`interface` `ModelElementChangeRightTarget` A representation of the model object 'Model Element Change Right Target'
`interface` `MoveModelElement` A representation of the model object 'Move Model Element'
`interface` `ReferenceChange` A representation of the model object 'Reference Change'.
`interface` `ReferenceChangeLeftTarget` A representation of the model object 'Reference Change Left Target'
`interface` `ReferenceChangeRightTarget` A representation of the model object 'Reference Change Right Target'
`interface` `ReferenceOrderChange` A representation of the model object 'Reference Order Change'.
`interface` `ResourceDependencyChange` A representation of the model object 'Resource Dependency Change'
`interface` `ResourceDependencyChangeLeftTarget` A representation of the model object ' Resource Dependency Change Left Target'.
`interface` `ResourceDependencyChangeRightTarget` A representation of the model object ' Resource Dependency Change Right Target'.
`interface` `ResourceDiff` A representation of the model object 'Resource Diff'.
`interface` `UpdateAttribute` A representation of the model object 'Update Attribute'.
`interface` `UpdateContainmentFeature` A representation of the model object 'Update Containment Feature'
`interface` `UpdateModelElement` A representation of the model object 'Update Model Element'
`interface` `UpdateReference` A representation of the model object 'Update Reference'.

Methods in org.eclipse.emf.compare.diff.metamodel that return types with arguments of type DiffElement
`org.eclipse.emf.common.util.EList<DiffElement>` `DiffModel.getDifferences()`
`org.eclipse.emf.common.util.EList<DiffElement>` `DiffModel.getDifferences(org.eclipse.emf.ecore.EObject modelElement)`
`org.eclipse.emf.common.util.EList<DiffElement>` `AbstractDiffExtension.getHideElements()` Returns the value of the 'Hide Elements' reference list.
`org.eclipse.emf.common.util.EList<DiffElement>` `DiffModel.getOwnedElements()` Returns the value of the 'Owned Elements' containment reference list.
`org.eclipse.emf.common.util.EList<DiffElement>` `DiffElement.getSubDiffElements()` Returns the value of the 'Sub Diff Elements' containment reference list.

Uses of DiffElement in org.eclipse.emf.compare.diff.metamodel.impl

Classes in org.eclipse.emf.compare.diff.metamodel.impl that implement DiffElement
`class` `AttributeChangeImpl` An implementation of the model object 'Attribute Change'.
`class` `AttributeChangeLeftTargetImpl` An implementation of the model object 'Attribute Change Left Target '.
`class` `AttributeChangeRightTargetImpl` An implementation of the model object ' Attribute Change Right Target'.
`class` `ConflictingDiffElementImpl` An implementation of the model object 'Conflicting Diff Element'
`class` `DiffElementImpl` An implementation of the model object 'Element'.
`class` `DiffGroupImpl` An implementation of the model object 'Group'.
`class` `ModelElementChangeImpl` An implementation of the model object 'Model Element Change'
`class` `ModelElementChangeLeftTargetImpl` An implementation of the model object ' Model Element Change Left Target'.
`class` `ModelElementChangeRightTargetImpl` An implementation of the model object ' Model Element Change Right Target'.
`class` `MoveModelElementImpl` An implementation of the model object 'Move Model Element'.
`class` `ReferenceChangeImpl` An implementation of the model object 'Reference Change'.
`class` `ReferenceChangeLeftTargetImpl` An implementation of the model object 'Reference Change Left Target '.
`class` `ReferenceChangeRightTargetImpl` An implementation of the model object ' Reference Change Right Target'.
`class` `ReferenceOrderChangeImpl` An implementation of the model object 'Reference Order Change'
`class` `ResourceDependencyChangeImpl` An implementation of the model object 'Resource Dependency Change'
`class` `ResourceDependencyChangeLeftTargetImpl` An implementation of the model object ' Resource Dependency Change Left Target'.
`class` `ResourceDependencyChangeRightTargetImpl` An implementation of the model object ' Resource Dependency Change Right Target'.
`class` `ResourceDiffImpl` An implementation of the model object 'Resource Diff'.
`class` `UpdateAttributeImpl` An implementation of the model object 'Update Attribute'.
`class` `UpdateContainmentFeatureImpl` An implementation of the model object 'Update Containment Feature'
`class` `UpdateModelElementImpl` An implementation of the model object 'Update Model Element'
`class` `UpdateReferenceImpl` An implementation of the model object 'Update Reference'.

Fields in org.eclipse.emf.compare.diff.metamodel.impl with type parameters of type DiffElement
`protected org.eclipse.emf.common.util.EList<DiffElement>` `AbstractDiffExtensionImpl.hideElements` The cached value of the '`Hide Elements`' reference list.
`protected org.eclipse.emf.common.util.EList<DiffElement>` `DiffModelImpl.ownedElements` The cached value of the '`Owned Elements`' containment reference list
`protected org.eclipse.emf.common.util.EList<DiffElement>` `DiffElementImpl.subDiffElements` The cached value of the '`Sub Diff Elements`' containment reference list.

Methods in org.eclipse.emf.compare.diff.metamodel.impl that return types with arguments of type DiffElement
`org.eclipse.emf.common.util.EList<DiffElement>` `DiffModelImpl.getDifferences()`
`org.eclipse.emf.common.util.EList<DiffElement>` `DiffModelImpl.getDifferences(org.eclipse.emf.ecore.EObject modelElement)`
`org.eclipse.emf.common.util.EList<DiffElement>` `AbstractDiffExtensionImpl.getHideElements()`
`org.eclipse.emf.common.util.EList<DiffElement>` `DiffModelImpl.getOwnedElements()`
`org.eclipse.emf.common.util.EList<DiffElement>` `DiffElementImpl.getSubDiffElements()`

Uses of DiffElement in org.eclipse.emf.compare.diff.metamodel.util

Methods in org.eclipse.emf.compare.diff.metamodel.util with parameters of type DiffElement
`T` `DiffSwitch.caseDiffElement(DiffElement object)` Returns the result of interpreting the object as an instance of 'Element'

Uses of DiffElement in org.eclipse.emf.compare.ui

Methods in org.eclipse.emf.compare.ui that return types with arguments of type DiffElement
`java.util.List<DiffElement>` `ModelCompareInput.getDiffAsList()` Returns the `DiffElement` of the input `DiffModel` as a list.

Methods in org.eclipse.emf.compare.ui with parameters of type DiffElement
`void` `ModelCompareInput.copy(DiffElement element, boolean leftToRight)` Copies a single `DiffElement` or a `DiffGroup` in the given direction.
`protected void` `ModelCompareInput.doCopy(DiffElement element, boolean leftToRight)` Applies the changes implied by a given `DiffElement` in the direction specified by `leftToRight`.

Method parameters in org.eclipse.emf.compare.ui with type arguments of type DiffElement
`void` `ModelCompareInput.copy(java.util.List<DiffElement> elements, boolean leftToRight)` Copies a list of `DiffElement`s or `DiffGroup`s in the given direction.
`protected void` `ModelCompareInput.doCopy(java.util.List<DiffElement> elements, boolean leftToRight)` Applies the changes implied by a list of `DiffElement` in the direction specified by `leftToRight`.

Uses of DiffElement in org.eclipse.emf.compare.ui.viewer.content

Fields in org.eclipse.emf.compare.ui.viewer.content with type parameters of type DiffElement
`protected java.util.List<DiffElement>` `ModelContentMergeViewer.currentSelection` Keeps track of the current diff Selection.

Methods in org.eclipse.emf.compare.ui.viewer.content that return types with arguments of type DiffElement
`protected java.util.List<DiffElement>` `ModelContentMergeViewer.getVisibleDiffs()` This will minimize the list of differences to the visible differences.

Methods in org.eclipse.emf.compare.ui.viewer.content with parameters of type DiffElement
`void` `ModelContentMergeViewer.setSelection(DiffElement diff)` Sets the parts' tree selection given the `DiffElement` to select.

Method parameters in org.eclipse.emf.compare.ui.viewer.content with type arguments of type DiffElement
`protected void` `ModelContentMergeViewer.copy(java.util.List<DiffElement> diffs, boolean leftToRight)` Copies a list of `DiffElement`s or `DiffGroup`s in the given direction, then updates the toolbar items states as well as the dirty state of both the left and the right models.
`void` `ModelContentMergeViewer.setSelection(java.util.List<DiffElement> diffs)` Sets the parts' tree selection given the list of `DiffElement`s to select.

Uses of DiffElement in org.eclipse.emf.compare.ui.viewer.content.part

Methods in org.eclipse.emf.compare.ui.viewer.content.part that return DiffElement
`DiffElement` `ModelContentMergeTabItem.getDiff()` Returns the represented difference.

Methods in org.eclipse.emf.compare.ui.viewer.content.part that return types with arguments of type DiffElement
`java.util.List<DiffElement>` `ModelContentMergeTabFolder.getDiffAsList()` Returns a list of all diffs contained by the input DiffModel except for DiffGroups.
`protected java.util.List<DiffElement>` `AbstractCenterPart.retainVisibleDiffs(java.util.List<ModelContentMergeTabItem> leftVisible, java.util.List<ModelContentMergeTabItem> rightVisible)` This will retain the visible differences in the given list.

Methods in org.eclipse.emf.compare.ui.viewer.content.part with parameters of type DiffElement
`ModelContentMergeTabItem` `ModelContentMergeTabFolder.getUIItem(DiffElement element)` This will be used when drawing the center part's marquees.
`void` `ModelContentMergeTabFolder.navigateToDiff(DiffElement diff)` Shows the given item on the tree tab or its properties on the property tab.

Method parameters in org.eclipse.emf.compare.ui.viewer.content.part with type arguments of type DiffElement
`void` `ModelContentMergeTabFolder.navigateToDiff(java.util.List<DiffElement> diffs)` Ensures the first item of the given list of `DiffElement`s is visible, and sets the selection of the tree to all those items.
`void` `IModelContentMergeViewerTab.showItems(java.util.List<DiffElement> items)` Ensures the given List of items is made visible in the tab's Control client area.

Constructors in org.eclipse.emf.compare.ui.viewer.content.part with parameters of type DiffElement
`ModelContentMergeTabItem(DiffElement diff, org.eclipse.swt.widgets.Item actual, org.eclipse.swt.widgets.Item visible, java.lang.String drawingColor)` Constructs a wrapper around the given item.
`ModelContentMergeTabItem(DiffElement diff, org.eclipse.swt.widgets.Item actual, org.eclipse.swt.widgets.Item visible, java.lang.String drawingColor, int curveExpectedY, int curveExpectedSize)` Constructs a wrapper around the given item.
`ModelContentMergeTabItem(DiffElement diff, org.eclipse.swt.widgets.Item actual, java.lang.String drawingColor)` Constructs a wrapper around the given item.

Uses of DiffElement in org.eclipse.emf.compare.ui.viewer.content.part.diff

Method parameters in org.eclipse.emf.compare.ui.viewer.content.part.diff with type arguments of type DiffElement
`void` `ModelContentMergeDiffTab.showItems(java.util.List<DiffElement> items)` Ensures the first element of the given list of items is visible in the tree, and sets the tree's selection to this list.

Uses of DiffElement in org.eclipse.emf.compare.ui.viewer.content.part.property

Methods in org.eclipse.emf.compare.ui.viewer.content.part.property with parameters of type DiffElement
`org.eclipse.swt.widgets.TableItem` `ModelContentMergePropertyTab.find(DiffElement diff)` Returns the widget representing the given `DiffElement` in the table.
`void` `ModelContentMergePropertyTab.showItem(DiffElement diff)` Ensures that the given diff is visible in the table.

Method parameters in org.eclipse.emf.compare.ui.viewer.content.part.property with type arguments of type DiffElement
`void` `ModelContentMergePropertyTab.showItems(java.util.List<DiffElement> items)` Ensures the given List of items is made visible in the tab's Control client area.

Copyright 2006 IBM Corporation and others. All Rights Reserved.