Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.views.data.internal.filter
Class InstanceServiceSelector

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.views.data.internal.filter.InstanceServiceSelector
All Implemented Interfaces:
InstanceSelector

public class InstanceServiceSelector
extends Object
implements InstanceSelector

Selects filtered features

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

Constructor Summary
InstanceServiceSelector(SchemaSpaceID spaceID)
          Create an instance selector
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceServiceSelector

public InstanceServiceSelector(SchemaSpaceID spaceID)
Create an instance selector

Parameters:
spaceID - the fixed schema space ID or null to allow selecting the schema space
Method Detail

addSelectionListener

public void addSelectionListener(InstanceSelectionListener listener)
Description copied from interface: InstanceSelector
Add a listener. A listener that was added should be informed of the currently selected features by calling InstanceSelectionListener.selectionChanged(TypeDefinition, Iterable)

Specified by:
addSelectionListener in interface InstanceSelector
Parameters:
listener - the listener to add
See Also:
InstanceSelector.addSelectionListener(InstanceSelectionListener)

removeSelectionListener

public void removeSelectionListener(InstanceSelectionListener listener)
Description copied from interface: InstanceSelector
Remove a listener

Specified by:
removeSelectionListener in interface InstanceSelector
Parameters:
listener - the listener to remove
See Also:
InstanceSelector.removeSelectionListener(InstanceSelectionListener)

createControl

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

Specified by:
createControl in interface InstanceSelector
Parameters:
parent - the parent composite
Returns:
the feature selector control
See Also:
InstanceSelector.createControl(Composite)

Humboldt Alignment Editor 2.5.0

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