public class PropertyField extends Field<PropertyParameter,PropertyEntitySelector>
Constructor and Description |
---|
PropertyField(PropertyParameter definition,
SchemaSpaceID ssid,
org.eclipse.swt.widgets.Composite parent,
Set<EntityDefinition> candidates,
Cell initialCell,
TypeEntityDefinition parentType)
Create a property field
|
Modifier and Type | Method and Description |
---|---|
protected PropertyEntitySelector |
createEntitySelector(SchemaSpaceID ssid,
PropertyParameter field,
org.eclipse.swt.widgets.Composite parent)
Create an entity selector
|
TypeDefinition |
getParentType() |
void |
setParentType(TypeEntityDefinition parentType)
Set the parent type
|
addSelector, fillEntities, getSchemaSpace, getSelectors, isValid, removeSelector
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public PropertyField(PropertyParameter definition, SchemaSpaceID ssid, org.eclipse.swt.widgets.Composite parent, Set<EntityDefinition> candidates, Cell initialCell, TypeEntityDefinition parentType)
definition
- the field definitionssid
- the schema spaceparent
- the parent compositecandidates
- the entity candidatesinitialCell
- the initial cellparentType
- the parent type of the propertiespublic void setParentType(TypeEntityDefinition parentType)
parentType
- the parentType to setprotected PropertyEntitySelector createEntitySelector(SchemaSpaceID ssid, PropertyParameter field, org.eclipse.swt.widgets.Composite parent)
Field
createEntitySelector
in class Field<PropertyParameter,PropertyEntitySelector>
ssid
- the schema spacefield
- the field definitionparent
- the parent compositeField.createEntitySelector(SchemaSpaceID, AbstractParameter,
Composite)
public TypeDefinition getParentType()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a