public class InstanceServiceSelector extends Object implements InstanceSelector
Constructor and Description |
---|
InstanceServiceSelector(SchemaSpaceID spaceID)
Create an instance selector
|
Modifier and Type | Method and Description |
---|---|
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
|
public InstanceServiceSelector(SchemaSpaceID spaceID)
spaceID
- the fixed schema space ID or null
to allow
selecting the schema spacepublic void addSelectionListener(InstanceSelectionListener listener)
InstanceSelector
InstanceSelectionListener.selectionChanged(TypeDefinition, Iterable)
addSelectionListener
in interface InstanceSelector
listener
- the listener to addInstanceSelector.addSelectionListener(InstanceSelectionListener)
public void removeSelectionListener(InstanceSelectionListener listener)
InstanceSelector
removeSelectionListener
in interface InstanceSelector
listener
- the listener to removeInstanceSelector.removeSelectionListener(InstanceSelectionListener)
public org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
InstanceSelector
createControl
in interface InstanceSelector
parent
- the parent compositeInstanceSelector.createControl(Composite)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a