Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.common.definition.selector
Class PropertyDefinitionSelector

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.util.selector.AbstractSelector<EntityDefinition>
      extended by eu.esdihumboldt.hale.ui.common.definition.selector.PropertyDefinitionSelector
All Implemented Interfaces:
org.eclipse.jface.viewers.ISelectionProvider

public class PropertyDefinitionSelector
extends AbstractSelector<EntityDefinition>

Entity selector for PropertyDefinitions with complete property paths (represented in an EntityDefinition).

Author:
Simon Templer

Constructor Summary
PropertyDefinitionSelector(org.eclipse.swt.widgets.Composite parent, TypeDefinition parentType, SchemaSpaceID ssid)
          Create an entity selector for Property entities
 
Method Summary
protected  AbstractViewerSelectionDialog<EntityDefinition,?> createSelectionDialog(org.eclipse.swt.widgets.Shell parentShell)
          Create the dialog for selecting an entity.
 void setParentType(TypeDefinition parentType)
          Set the parent type
 
Methods inherited from class eu.esdihumboldt.hale.ui.util.selector.AbstractSelector
accepts, addSelectionChangedListener, fireSelectionChange, getControl, getSelectedObject, getSelection, removeSelectionChangedListener, setSelection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyDefinitionSelector

public PropertyDefinitionSelector(org.eclipse.swt.widgets.Composite parent,
                                  TypeDefinition parentType,
                                  SchemaSpaceID ssid)
Create an entity selector for Property entities

Parameters:
ssid - the schema space, may be null
parent - the parent composite
parentType - the parent type
Method Detail

setParentType

public void setParentType(TypeDefinition parentType)
Set the parent type

Parameters:
parentType - the parentType to set

createSelectionDialog

protected AbstractViewerSelectionDialog<EntityDefinition,?> createSelectionDialog(org.eclipse.swt.widgets.Shell parentShell)
Description copied from class: AbstractSelector
Create the dialog for selecting an entity.

Specified by:
createSelectionDialog in class AbstractSelector<EntityDefinition>
Parameters:
parentShell - the parent shell for the dialog
Returns:
the entity dialog
See Also:
AbstractSelector.createSelectionDialog(org.eclipse.swt.widgets.Shell)

Humboldt Alignment Editor 2.5.0

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