public class PropertyEntitySelector extends EntitySelector<PropertyParameter>
Property
entitiesConstructor and Description |
---|
PropertyEntitySelector(SchemaSpaceID ssid,
PropertyParameter field,
org.eclipse.swt.widgets.Composite parent,
TypeEntityDefinition parentType)
Create an entity selector for
Property entities |
Modifier and Type | Method and Description |
---|---|
protected Entity |
createEntity(EntityDefinition element)
Create an entity for the given entity definition
|
protected EntityDialog |
createEntityDialog(org.eclipse.swt.widgets.Shell parentShell,
SchemaSpaceID ssid,
PropertyParameter field)
Create the dialog for selecting an entity.
|
void |
setParentType(TypeEntityDefinition parentType)
Set the parent type
|
createSelectionDialog, getEntity, getField
accepts, addSelectionChangedListener, fireSelectionChange, getControl, getSelectedObject, getSelection, removeSelectionChangedListener, setSelection
public PropertyEntitySelector(SchemaSpaceID ssid, PropertyParameter field, org.eclipse.swt.widgets.Composite parent, TypeEntityDefinition parentType)
Property
entitiesssid
- the schema spacefield
- the field definition, may be null
parent
- the parent compositeparentType
- the parent typepublic void setParentType(TypeEntityDefinition parentType)
parentType
- the parentType to setprotected EntityDialog createEntityDialog(org.eclipse.swt.widgets.Shell parentShell, SchemaSpaceID ssid, PropertyParameter field)
EntitySelector
createEntityDialog
in class EntitySelector<PropertyParameter>
parentShell
- the parent shell for the dialogssid
- the schema spacefield
- the field definitionEntitySelector.createEntityDialog(Shell, SchemaSpaceID,
AbstractParameter)
protected Entity createEntity(EntityDefinition element)
EntitySelector
createEntity
in class EntitySelector<PropertyParameter>
element
- the entity definitionEntitySelector.createEntity(EntityDefinition)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a