java.lang.Object
org.eclipse.emf.compare.rcp.ui.contentmergeviewer.accessor.legacy.impl.AbstractTypedElementAdapter
org.eclipse.emf.compare.rcp.ui.internal.contentmergeviewer.accessor.legacy.impl.TypedNotifier
All Implemented Interfaces:
ITypedElement

public class TypedNotifier extends AbstractTypedElementAdapter
A specific implementation of AbstractTypedElementAdapter for notifiers.
Since:
4.0
  • Field Details

  • Constructor Details

    • TypedNotifier

      public TypedNotifier(AdapterFactory adapterFactory, Notifier notifier)
      Default constructor.
      Parameters:
      adapterFactory - the adapter factory to use to retrieve item.
      notifier - the notifier to use to retrieve the type.
  • Method Details

    • getName

      public String getName()
      Returns the name of this object. The name is used when displaying this object in the UI.
      Returns:
      the name of this object
      See Also:
    • getImage

      public org.eclipse.swt.graphics.Image getImage()
      Returns an image for this object. This image is used when displaying this object in the UI.
      Returns:
      the image of this object or null if this type of input has no image
      See Also:
    • getType

      public String getType()
      Returns the type of this object. For objects with a file name this is typically the file extension. For folders its the constant FOLDER_TYPE. The type is used for determining a suitable viewer for this object.
      Returns:
      the type of this object
      See Also: