public class NameRelationshipDetailElement extends AbstractReferencedEntityElement<eu.etaxonomy.cdm.model.name.NameRelationship>
NameRelationshipDetailElement class.
selection_reference, text_referenceDetail
btnChooseEntity, entity
formFactory
NOT_SELECTED, SELECTED
Constructor and Description |
---|
NameRelationshipDetailElement(CdmFormFactory cdmFormFactory,
AbstractFormSection formElement,
eu.etaxonomy.cdm.model.name.NameRelationship entity,
org.eclipse.swt.events.SelectionListener removeListener,
int style)
Constructor for NameRelationshipDetailElement.
|
Modifier and Type | Method and Description |
---|---|
void |
createControls(ICdmFormElement element,
int style) |
void |
handleEvent(java.lang.Object eventSource) |
void |
setBackground(org.eclipse.swt.graphics.Color color)
setBackground
|
void |
setEntity(eu.etaxonomy.cdm.model.name.NameRelationship entity) |
getSelectionArbitrator
getBackgroundColor, getBox, getConversationHolder, getEntity, getLayoutComposite, init, propertyChange, selectFromDialog, setSelected, update, widgetDefaultSelected, widgetSelected
addControl, addElement, containsFormElement, firePropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, getColor, getControls, getElements, getFormFactory, getParentElement, getPersistentBackground, getPropertyChangeListeners, refresh, removeControl, removeElement, removeElements, removeElementsAndControls, setFocus, setLayoutComposite, setPersistentBackground, setPropertyChangeListeners
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addElement, containsFormElement, getControls, getElements, getFormFactory, getParentElement, getPersistentBackground, getPropertyChangeListeners, refresh, removeElements, setPersistentBackground, setPropertyChangeListeners
firePropertyChangeEvent
public NameRelationshipDetailElement(CdmFormFactory cdmFormFactory, AbstractFormSection formElement, eu.etaxonomy.cdm.model.name.NameRelationship entity, org.eclipse.swt.events.SelectionListener removeListener, int style)
Constructor for NameRelationshipDetailElement.
cdmFormFactory
- a CdmFormFactory
object.formElement
- a AbstractFormSection
object.entity
- a NameRelationship
object.removeListener
- a SelectionListener
object.style
- a int.public void createControls(ICdmFormElement element, int style)
createControls
in class AbstractReferencedEntityElement<eu.etaxonomy.cdm.model.name.NameRelationship>
public void setEntity(eu.etaxonomy.cdm.model.name.NameRelationship entity)
setEntity
in class AbstractReferencedEntityElement<eu.etaxonomy.cdm.model.name.NameRelationship>
public void handleEvent(java.lang.Object eventSource)
handleEvent
in class AbstractEntityCollectionElement<eu.etaxonomy.cdm.model.name.NameRelationship>
public void setBackground(org.eclipse.swt.graphics.Color color)
setBackground
setBackground
in interface ICdmFormElement
setBackground
in class AbstractEntityCollectionElement<eu.etaxonomy.cdm.model.name.NameRelationship>
color
- a Color
object.Copyright © 2007-2018. All Rights Reserved.