public class TaxonRelationshipDetailElement extends AbstractCdmDetailElement<eu.etaxonomy.cdm.model.taxon.TaxonRelationship>
Modifier and Type | Field and Description |
---|---|
protected ToggleableTextElement |
toggleable_cache |
formFactory
NOT_SELECTED, SELECTED
Constructor and Description |
---|
TaxonRelationshipDetailElement(CdmFormFactory formFactory,
ICdmFormElement formElement) |
Modifier and Type | Method and Description |
---|---|
protected void |
createControls(ICdmFormElement formElement,
eu.etaxonomy.cdm.model.taxon.TaxonRelationship entity,
int style)
Create all content elements
|
TaxonDetailSection |
getTaxonElement() |
void |
handleEvent(java.lang.Object eventSource)
Gets called when the source of the event is a child widget of this
widget.
|
protected void |
handleTitleCacheRelevantChange(org.eclipse.jface.util.PropertyChangeEvent event) |
void |
refresh()
Refreshes the layout of this form element.
|
void |
setEntity(eu.etaxonomy.cdm.model.taxon.TaxonRelationship entity)
Sets the entity and updates controls
|
protected void |
updateControlStates() |
getConversationHolder, getEntity, getWarnForReferencedObjects, handleException, isEnabled, isIrrelevant, propertyChange, setEnabled, setEnabled, setIrrelevant, setIrrelevant, setSelected, setWarnForReferencedObjects, setWarnForReferencingObjects, setWarnForReferencingObjectsVisible, update, update, updateContent
addControl, addElement, containsFormElement, firePropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, getColor, getControls, getElements, getFormFactory, getLayoutComposite, getParentElement, getPersistentBackground, getPropertyChangeListeners, removeControl, removeElement, removeElements, removeElementsAndControls, setBackground, setFocus, setLayoutComposite, setPersistentBackground, setPropertyChangeListeners
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addElement, containsFormElement, getControls, getElements, getFormFactory, getLayoutComposite, getParentElement, getPersistentBackground, getPropertyChangeListeners, removeElements, setBackground, setPersistentBackground, setPropertyChangeListeners
firePropertyChangeEvent
protected ToggleableTextElement toggleable_cache
public TaxonRelationshipDetailElement(CdmFormFactory formFactory, ICdmFormElement formElement)
public TaxonDetailSection getTaxonElement()
protected void createControls(ICdmFormElement formElement, eu.etaxonomy.cdm.model.taxon.TaxonRelationship entity, int style)
AbstractCdmDetailElement
createControls
in class AbstractCdmDetailElement<eu.etaxonomy.cdm.model.taxon.TaxonRelationship>
formElement
- a ICdmFormElement
object.entity
- a T object.style
- a int.public void handleEvent(java.lang.Object eventSource)
AbstractCdmDetailElement
handleEvent
in class AbstractCdmDetailElement<eu.etaxonomy.cdm.model.taxon.TaxonRelationship>
eventSource
- a Object
object.protected void updateControlStates()
updateControlStates
in class AbstractCdmDetailElement<eu.etaxonomy.cdm.model.taxon.TaxonRelationship>
protected void handleTitleCacheRelevantChange(org.eclipse.jface.util.PropertyChangeEvent event)
handleTitleCacheRelevantChange
in class AbstractCdmDetailElement<eu.etaxonomy.cdm.model.taxon.TaxonRelationship>
public void refresh()
ICdmFormElement
refresh
in interface ICdmFormElement
refresh
in class AbstractCdmFormElement
public void setEntity(eu.etaxonomy.cdm.model.taxon.TaxonRelationship entity)
AbstractCdmDetailElement
setEntity
in interface ICdmDetailElement<eu.etaxonomy.cdm.model.taxon.TaxonRelationship>
setEntity
in class AbstractCdmDetailElement<eu.etaxonomy.cdm.model.taxon.TaxonRelationship>
entity
- a T object.Copyright © 2007-2018. All Rights Reserved.