Class EMFSynchronizationCompareAdapter

  • All Implemented Interfaces:
    org.eclipse.team.ui.mapping.ISynchronizationCompareAdapter

    public class EMFSynchronizationCompareAdapter
    extends org.eclipse.team.ui.mapping.SynchronizationCompareAdapter
    Allows us to provide comparison support for the EMF model provider.
    • Constructor Detail

      • EMFSynchronizationCompareAdapter

        public EMFSynchronizationCompareAdapter()
    • Method Detail

      • hasCompareInput

        public boolean hasCompareInput​(org.eclipse.team.core.mapping.ISynchronizationContext context,
                                       Object object)
        Specified by:
        hasCompareInput in interface org.eclipse.team.ui.mapping.ISynchronizationCompareAdapter
        Overrides:
        hasCompareInput in class org.eclipse.team.ui.mapping.SynchronizationCompareAdapter
      • asCompareInput

        public org.eclipse.compare.structuremergeviewer.ICompareInput asCompareInput​(org.eclipse.team.core.mapping.ISynchronizationContext context,
                                                                                     Object o)
        Specified by:
        asCompareInput in interface org.eclipse.team.ui.mapping.ISynchronizationCompareAdapter
        Overrides:
        asCompareInput in class org.eclipse.team.ui.mapping.SynchronizationCompareAdapter
      • save

        public void save​(org.eclipse.core.resources.mapping.ResourceMapping[] mappings,
                         org.eclipse.ui.IMemento memento)
      • restore

        public org.eclipse.core.resources.mapping.ResourceMapping[] restore​(org.eclipse.ui.IMemento memento)