public class AnnotationElement extends AbstractEntityCollectionElement<eu.etaxonomy.cdm.model.common.Annotation>
AnnotationElement class.
btnChooseEntity, entity
formFactory
NOT_SELECTED, SELECTED
Constructor and Description |
---|
AnnotationElement(CdmFormFactory cdmFormFactory,
AbstractFormSection formElement,
eu.etaxonomy.cdm.model.common.Annotation annotation,
org.eclipse.swt.events.SelectionListener removeListener,
int style)
Constructor for AnnotationElement.
|
Modifier and Type | Method and Description |
---|---|
void |
createControls(ICdmFormElement element,
int style) |
void |
handleEvent(java.lang.Object eventSource) |
void |
setEntity(eu.etaxonomy.cdm.model.common.Annotation entity) |
getBackgroundColor, getBox, getConversationHolder, getEntity, getLayoutComposite, init, propertyChange, selectFromDialog, setBackground, 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 AnnotationElement(CdmFormFactory cdmFormFactory, AbstractFormSection formElement, eu.etaxonomy.cdm.model.common.Annotation annotation, org.eclipse.swt.events.SelectionListener removeListener, int style)
Constructor for AnnotationElement.
formElement
- a AbstractFormSection
object.annotation
- a Annotation
object.style
- a int.cdmFormFactory
- a CdmFormFactory
object.removeListener
- a SelectionListener
object.public void createControls(ICdmFormElement element, int style)
createControls
in class AbstractEntityCollectionElement<eu.etaxonomy.cdm.model.common.Annotation>
public void setEntity(eu.etaxonomy.cdm.model.common.Annotation entity)
setEntity
in class AbstractEntityCollectionElement<eu.etaxonomy.cdm.model.common.Annotation>
public void handleEvent(java.lang.Object eventSource)
handleEvent
in class AbstractEntityCollectionElement<eu.etaxonomy.cdm.model.common.Annotation>
Copyright © 2007-2018. All Rights Reserved.