Humboldt Alignment Editor 2.5.0

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

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

public class TypeDefinitionSelector
extends AbstractSelector<TypeDefinition>

Selector for type definitions.

Author:
Simon Templer

Constructor Summary
TypeDefinitionSelector(org.eclipse.swt.widgets.Composite parent, String dialogTitle, TypeIndex typeIndex, org.eclipse.jface.viewers.ViewerFilter[] filters)
          Create a type definition selector.
 
Method Summary
protected  AbstractViewerSelectionDialog<TypeDefinition,?> createSelectionDialog(org.eclipse.swt.widgets.Shell parentShell)
          Create the dialog for selecting an entity.
 
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

TypeDefinitionSelector

public TypeDefinitionSelector(org.eclipse.swt.widgets.Composite parent,
                              String dialogTitle,
                              TypeIndex typeIndex,
                              org.eclipse.jface.viewers.ViewerFilter[] filters)
Create a type definition selector.

Parameters:
parent - the parent composite
dialogTitle - the title for the selection dialog
typeIndex - the types to choose from
filters - the view filters or null
Method Detail

createSelectionDialog

protected AbstractViewerSelectionDialog<TypeDefinition,?> 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<TypeDefinition>
Parameters:
parentShell - the parent shell for the dialog
Returns:
the entity dialog
See Also:
AbstractSelector.createSelectionDialog(Shell)

Humboldt Alignment Editor 2.5.0

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