Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.views.data.internal.filter
Interface InstanceSelector

All Known Subinterfaces:
AdvancedInstanceSelector
All Known Implementing Classes:
InstanceServiceSelector, SampleTransformInstanceSelector, WindowSelectionSelector

public interface InstanceSelector

Instance selector interface.

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Method Summary
 void addSelectionListener(InstanceSelectionListener listener)
          Add a listener.
 org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
          Create the selector control.
 void removeSelectionListener(InstanceSelectionListener listener)
          Remove a listener
 

Method Detail

addSelectionListener

void addSelectionListener(InstanceSelectionListener listener)
Add a listener. A listener that was added should be informed of the currently selected features by calling InstanceSelectionListener.selectionChanged(TypeDefinition, Iterable)

Parameters:
listener - the listener to add

removeSelectionListener

void removeSelectionListener(InstanceSelectionListener listener)
Remove a listener

Parameters:
listener - the listener to remove

createControl

org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
Create the selector control. The control must be disposed before creating another one. When the control is disposed, the listeners will be reset

Parameters:
parent - the parent composite
Returns:
the feature selector control

Humboldt Alignment Editor 2.5.0

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