Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.selection
Interface SchemaSelection

All Superinterfaces:
org.eclipse.jface.viewers.ISelection
All Known Implementing Classes:
DefaultSchemaSelection

public interface SchemaSelection
extends org.eclipse.jface.viewers.ISelection

Schema selection interface

Author:
Simon Templer

Method Summary
 EntityDefinition getFirstItem(SchemaSpaceID schema)
          Get the first selected item of the given schema
 EntityDefinition getFirstSourceItem()
          Get the first selected source item
 EntityDefinition getFirstTargetItem()
          Get the first selected target item
 Set<EntityDefinition> getSourceItems()
           
 Set<EntityDefinition> getTargetItems()
           
 
Methods inherited from interface org.eclipse.jface.viewers.ISelection
isEmpty
 

Method Detail

getSourceItems

Set<EntityDefinition> getSourceItems()
Returns:
the sourceItems

getTargetItems

Set<EntityDefinition> getTargetItems()
Returns:
the targetItems

getFirstSourceItem

EntityDefinition getFirstSourceItem()
Get the first selected source item

Returns:
the first selected source item or null

getFirstTargetItem

EntityDefinition getFirstTargetItem()
Get the first selected target item

Returns:
the first selected target item or null

getFirstItem

EntityDefinition getFirstItem(SchemaSpaceID schema)
Get the first selected item of the given schema

Parameters:
schema - the schema type
Returns:
the first selected item or null

Humboldt Alignment Editor 2.5.0

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