|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.service.entity.util.EntityTypeIndexContentProvider
public class EntityTypeIndexContentProvider
Tree content provider using a TypeIndex
as root
Field Summary | |
---|---|
protected EntityDefinitionService |
entityDefinitionService
The entity definition service instance |
protected SchemaSpaceID |
schemaSpace
The identifier of the schema space associated to the entities |
Constructor Summary | |
---|---|
EntityTypeIndexContentProvider(org.eclipse.jface.viewers.TreeViewer tree,
EntityDefinitionService entityDefinitionService,
SchemaSpaceID schemaSpace)
Create a content provider based on a TypeIndex as input. |
Method Summary | |
---|---|
void |
dispose()
|
Object[] |
getChildren(Object parentElement)
|
Object[] |
getElements(Object inputElement)
|
Object |
getParent(Object element)
|
protected org.eclipse.jface.viewers.TreeViewer |
getTree()
Get the associated tree viewer |
boolean |
hasChildren(Object parentElement)
|
void |
inputChanged(org.eclipse.jface.viewers.Viewer viewer,
Object oldInput,
Object newInput)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final EntityDefinitionService entityDefinitionService
protected final SchemaSpaceID schemaSpace
Constructor Detail |
---|
public EntityTypeIndexContentProvider(org.eclipse.jface.viewers.TreeViewer tree, EntityDefinitionService entityDefinitionService, SchemaSpaceID schemaSpace)
TypeIndex
as input.
tree
- the associated tree viewerentityDefinitionService
- the entity definition serviceschemaSpace
- the associated schema spaceMethod Detail |
---|
protected org.eclipse.jface.viewers.TreeViewer getTree()
public Object[] getElements(Object inputElement)
getElements
in interface org.eclipse.jface.viewers.IStructuredContentProvider
getElements
in interface org.eclipse.jface.viewers.ITreeContentProvider
ITreeContentProvider.getElements(Object)
public Object[] getChildren(Object parentElement)
getChildren
in interface org.eclipse.jface.viewers.ITreeContentProvider
ITreeContentProvider.getChildren(Object)
public boolean hasChildren(Object parentElement)
hasChildren
in interface org.eclipse.jface.viewers.ITreeContentProvider
ITreeContentProvider.hasChildren(Object)
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IContentProvider
IContentProvider.dispose()
public void inputChanged(org.eclipse.jface.viewers.Viewer viewer, Object oldInput, Object newInput)
inputChanged
in interface org.eclipse.jface.viewers.IContentProvider
IContentProvider.inputChanged(Viewer, Object, Object)
public Object getParent(Object element)
getParent
in interface org.eclipse.jface.viewers.ITreeContentProvider
ITreeContentProvider.getParent(Object)
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |