|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.ui.util.selector.AbstractSelector<EntityDefinition>
eu.esdihumboldt.hale.ui.function.common.EntitySelector<F>
F
- the field typepublic abstract class EntitySelector<F extends AbstractParameter>
Entity selector
Constructor Summary | |
---|---|
EntitySelector(SchemaSpaceID ssid,
F field,
org.eclipse.swt.widgets.Composite parent,
org.eclipse.jface.viewers.ViewerFilter[] filters)
Create an entity selector. |
Method Summary | |
---|---|
protected abstract Entity |
createEntity(EntityDefinition element)
Create an entity for the given entity definition |
protected abstract EntityDialog |
createEntityDialog(org.eclipse.swt.widgets.Shell parentShell,
SchemaSpaceID ssid,
F field)
Create the dialog for selecting an entity. |
protected AbstractViewerSelectionDialog<EntityDefinition,?> |
createSelectionDialog(org.eclipse.swt.widgets.Shell parentShell)
Create the dialog for selecting an entity. |
Entity |
getEntity()
Get the selected entity |
F |
getField()
Get the field definition associated with the selector. |
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 |
---|
public EntitySelector(SchemaSpaceID ssid, F field, org.eclipse.swt.widgets.Composite parent, org.eclipse.jface.viewers.ViewerFilter[] filters)
ssid
- the schema spacefield
- the field definition, may be null
parent
- the parent compositefilters
- the viewer filtersMethod Detail |
---|
public F getField()
protected AbstractViewerSelectionDialog<EntityDefinition,?> createSelectionDialog(org.eclipse.swt.widgets.Shell parentShell)
AbstractSelector
createSelectionDialog
in class AbstractSelector<EntityDefinition>
parentShell
- the parent shell for the dialog
AbstractSelector.createSelectionDialog(Shell)
protected abstract EntityDialog createEntityDialog(org.eclipse.swt.widgets.Shell parentShell, SchemaSpaceID ssid, F field)
parentShell
- the parent shell for the dialogssid
- the schema spacefield
- the field definition
public Entity getEntity()
null
protected abstract Entity createEntity(EntityDefinition element)
element
- the entity definition
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |