|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
eu.esdihumboldt.hale.ui.function.generic.pages.internal.Field<F,S>
S
- the entity selector typeF
- the field typepublic abstract class Field<F extends AbstractParameter,S extends EntitySelector<F>>
Represents named entities in a function
Constructor Summary | |
---|---|
Field(F definition,
SchemaSpaceID ssid,
org.eclipse.swt.widgets.Composite parent,
Set<EntityDefinition> candidates,
Cell initialCell)
Create a field |
Method Summary | |
---|---|
protected void |
addSelector(S selector)
Add a selector |
protected abstract S |
createEntitySelector(SchemaSpaceID ssid,
F field,
org.eclipse.swt.widgets.Composite parent)
Create an entity selector |
void |
fillEntities(com.google.common.collect.ListMultimap<String,Entity> target)
Fill the given map with the field's entities |
SchemaSpaceID |
getSchemaSpace()
Get the schema space |
protected List<S> |
getSelectors()
Get the selectors associated with the field |
boolean |
isValid()
Determines if the field is valid in its current configuration |
protected void |
removeSelector(S selector)
Remove a selector |
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 |
---|
public Field(F definition, SchemaSpaceID ssid, org.eclipse.swt.widgets.Composite parent, Set<EntityDefinition> candidates, Cell initialCell)
definition
- the field definitionssid
- the schema spaceparent
- the parent compositecandidates
- the entity candidatesinitialCell
- the initial cellMethod Detail |
---|
protected abstract S createEntitySelector(SchemaSpaceID ssid, F field, org.eclipse.swt.widgets.Composite parent)
ssid
- the schema spacefield
- the field definitionparent
- the parent composite
protected List<S> getSelectors()
protected void addSelector(S selector)
selector
- the entity selector to addprotected void removeSelector(S selector)
selector
- the entity selector to removepublic SchemaSpaceID getSchemaSpace()
public boolean isValid()
public void fillEntities(com.google.common.collect.ListMultimap<String,Entity> target)
target
- the map to add the entities to
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |