Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.function.generic.pages.internal
Class PropertyField

java.lang.Object
  extended by java.util.Observable
      extended by eu.esdihumboldt.hale.ui.function.generic.pages.internal.Field<PropertyParameter,PropertyEntitySelector>
          extended by eu.esdihumboldt.hale.ui.function.generic.pages.internal.PropertyField

public class PropertyField
extends Field<PropertyParameter,PropertyEntitySelector>

Represents named property entities in a function

Author:
Simon Templer

Constructor Summary
PropertyField(PropertyParameter definition, SchemaSpaceID ssid, org.eclipse.swt.widgets.Composite parent, Set<EntityDefinition> candidates, Cell initialCell, TypeEntityDefinition parentType)
          Create a property field
 
Method Summary
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
 
Methods inherited from class eu.esdihumboldt.hale.ui.function.generic.pages.internal.Field
addSelector, fillEntities, getSchemaSpace, getSelectors, isValid, removeSelector
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyField

public PropertyField(PropertyParameter definition,
                     SchemaSpaceID ssid,
                     org.eclipse.swt.widgets.Composite parent,
                     Set<EntityDefinition> candidates,
                     Cell initialCell,
                     TypeEntityDefinition parentType)
Create a property field

Parameters:
definition - the field definition
ssid - the schema space
parent - the parent composite
candidates - the entity candidates
initialCell - the initial cell
parentType - the parent type of the properties
Method Detail

setParentType

public void setParentType(TypeEntityDefinition parentType)
Set the parent type

Parameters:
parentType - the parentType to set

createEntitySelector

protected PropertyEntitySelector createEntitySelector(SchemaSpaceID ssid,
                                                      PropertyParameter field,
                                                      org.eclipse.swt.widgets.Composite parent)
Description copied from class: Field
Create an entity selector

Specified by:
createEntitySelector in class Field<PropertyParameter,PropertyEntitySelector>
Parameters:
ssid - the schema space
field - the field definition
parent - the parent composite
Returns:
the entity selector
See Also:
Field.createEntitySelector(SchemaSpaceID, AbstractParameter, Composite)

getParentType

public TypeDefinition getParentType()
Returns:
the parentType

Humboldt Alignment Editor 2.5.0

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