public class EntityTypeIterableContentProvider extends EntityTypeIndexContentProvider
entityDefinitionService, schemaSpace
Constructor and Description |
---|
EntityTypeIterableContentProvider(EntityDefinitionService entityDefinitionService,
SchemaSpaceID schemaSpace)
Create a content provider based on an
Iterable or array as input. |
EntityTypeIterableContentProvider(EntityDefinitionService entityDefinitionService,
SchemaSpaceID schemaSpace,
boolean onlyTypes)
Create a content provider based on an
Iterable or array as input. |
Modifier and Type | Method and Description |
---|---|
Object[] |
getElements(Object inputElement) |
dispose, getChildren, getParent, hasChildren, inputChanged
public EntityTypeIterableContentProvider(EntityDefinitionService entityDefinitionService, SchemaSpaceID schemaSpace)
Iterable
or array as input.
It will show the given types and their properties.entityDefinitionService
- the entity definition serviceschemaSpace
- the associated schema spacepublic EntityTypeIterableContentProvider(EntityDefinitionService entityDefinitionService, SchemaSpaceID schemaSpace, boolean onlyTypes)
Iterable
or array as input.
It will show the given types.entityDefinitionService
- the entity definition serviceschemaSpace
- the associated schema spaceonlyTypes
- whether to only show types, or also their propertiespublic Object[] getElements(Object inputElement)
getElements
in interface org.eclipse.jface.viewers.IStructuredContentProvider
getElements
in interface org.eclipse.jface.viewers.ITreeContentProvider
getElements
in class EntityTypeIndexContentProvider
EntityTypeIndexContentProvider.getElements(java.lang.Object)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a