Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.views.data.internal.explore
Class InstanceExplorer

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.views.data.internal.explore.InstanceExplorer
All Implemented Interfaces:
InstanceViewer

public class InstanceExplorer
extends Object
implements InstanceViewer

Instance explorer

Author:
Simon Templer

Constructor Summary
InstanceExplorer()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceExplorer

public InstanceExplorer()
Method Detail

createControls

public void createControls(org.eclipse.swt.widgets.Composite parent,
                           SchemaSpaceID schemaSpace)
Description copied from interface: InstanceViewer
Create the viewer controls.

Specified by:
createControls in interface InstanceViewer
Parameters:
parent - the parent composite
schemaSpace - the represented schema space
See Also:
InstanceViewer.createControls(Composite, SchemaSpaceID)

setInput

public void setInput(TypeDefinition type,
                     Iterable<Instance> instances)
Description copied from interface: InstanceViewer
Set the input.

Specified by:
setInput in interface InstanceViewer
Parameters:
type - the type definition
instances - the instances to display
See Also:
InstanceViewer.setInput(TypeDefinition, Iterable)

getViewer

public org.eclipse.jface.viewers.Viewer getViewer()
Description copied from interface: InstanceViewer
Get the internal tree viewer.

Specified by:
getViewer in interface InstanceViewer
Returns:
the tree viewer
See Also:
InstanceViewer.getViewer()

getControl

public org.eclipse.swt.widgets.Control getControl()
Description copied from interface: InstanceViewer
Get the main control

Specified by:
getControl in interface InstanceViewer
Returns:
the main viewer control
See Also:
InstanceViewer.getControl()

getInstanceSelectionProvider

public org.eclipse.jface.viewers.ISelectionProvider getInstanceSelectionProvider()
Description copied from interface: InstanceViewer
Get the selection provider providing the instance selection.

Specified by:
getInstanceSelectionProvider in interface InstanceViewer
Returns:
the instance selection provider
See Also:
InstanceViewer.getInstanceSelectionProvider()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d