public interface InstanceViewer
Instance
viewers based on a Viewer
.Modifier and Type | Method and Description |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
SchemaSpaceID schemaSpace)
Create the viewer controls.
|
org.eclipse.swt.widgets.Control |
getControl()
Get the main control
|
org.eclipse.jface.viewers.ISelectionProvider |
getInstanceSelectionProvider()
Get the selection provider providing the instance selection.
|
org.eclipse.jface.viewers.Viewer |
getViewer()
Get the internal tree viewer.
|
void |
setInput(TypeDefinition type,
Iterable<Instance> instances)
Set the input.
|
void createControls(org.eclipse.swt.widgets.Composite parent, SchemaSpaceID schemaSpace)
parent
- the parent compositeschemaSpace
- the represented schema spacevoid setInput(TypeDefinition type, Iterable<Instance> instances)
type
- the type definitioninstances
- the instances to displayorg.eclipse.jface.viewers.Viewer getViewer()
org.eclipse.jface.viewers.ISelectionProvider getInstanceSelectionProvider()
org.eclipse.swt.widgets.Control getControl()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a