Class FileEditorMappingContentProvider

  • All Implemented Interfaces:
    IContentProvider, IStructuredContentProvider

    public class FileEditorMappingContentProvider
    extends java.lang.Object
    implements IStructuredContentProvider
    A content provider for displaying of IFileEditorMapping objects in viewers.

    This class has a singleton instance, FileEditorMappingContentProvider.INSTANCE, which can be used any place this kind of content provider is needed.

    See Also:
    IContentProvider
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object[] getElements​(java.lang.Object element)
      Returns the elements to display in the viewer when its input is set to the given element.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getElements

        public java.lang.Object[] getElements​(java.lang.Object element)
        Description copied from interface: IStructuredContentProvider
        Returns the elements to display in the viewer when its input is set to the given element. These elements can be presented as rows in a table, items in a list, etc. The result is not modified by the viewer.
        Specified by:
        getElements in interface IStructuredContentProvider
        Parameters:
        element - the input element
        Returns:
        the array of elements to display in the viewer