Class TypedNotifier

    • Constructor Detail

      • 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 Detail

      • 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:
        ITypedElement.getName()
      • 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:
        ITypedElement.getImage()
      • 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:
        ITypedElement.getType()