Class EMFCompareContentMergeViewerResourceBundle

java.lang.Object
java.util.ResourceBundle
org.eclipse.emf.compare.ide.ui.internal.contentmergeviewer.EMFCompareContentMergeViewerResourceBundle

public class EMFCompareContentMergeViewerResourceBundle extends ResourceBundle
This resource bundle wraps the resource bundle of an EMF Compare content merge viewer to default to the resource bundle of the Eclipse Compare TextMergeViewer for any non-defined keys. The TextMergeViewer already defines the label, tooltip and image for the following actions:
  • CopyLeftToRight
  • CopyRightToLeft
  • CopyDiffLeftToRight
  • CopyDiffRightToLeft
  • NextDiff
  • PrevDiff
  • NextChange
  • PrevChange
  • EnableAncestor
  • IgnoreAncestor
  • SwitchLeftAndRight (added in Oxygen)
Specifically, this class avoids the problem of re-defining the images which may change between versions, e.g., the change from gif to png done in Oxygen.