public class FileEditorMappingContentProvider extends Object implements IStructuredContentProvider
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.
IContentProvider| Modifier and Type | Field and Description |
|---|---|
static FileEditorMappingContentProvider |
INSTANCE
Singleton instance accessor.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getElements(Object element)
Returns the elements to display in the viewer
when its input is set to the given element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, inputChangedpublic static final FileEditorMappingContentProvider INSTANCE
public Object[] getElements(Object element)
IStructuredContentProvidergetElements in interface IStructuredContentProviderelement - the input element
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.