public abstract class AbstractUnboundEntityCollectionSection<ENTITY,ELEMENT> extends AbstractEntityCollectionSection<ENTITY,ELEMENT>
AbstractEntityCollectionSection
by creating an
AbstractEntityCollectionElement
for an ELEMENT which is not directly
added the the model ENTITY.getCollection(Object)
. Use
getEntityCollection(Object)
insteadAbstractFormSection.ExpandListener
container
DEFAULT_NUM_COLUMNS, formFactory
CLIENT_INDENT, clientVerticalSpacing, COMPACT, descriptionVerticalSpacing, EXPANDED, FOCUS_TITLE, GAP, LEFT_TEXT_CLIENT_ALIGNMENT, marginHeight, marginWidth, NO_TITLE, NO_TITLE_FOCUS_BOX, SHORT_TITLE_BAR, textLabel, TITLE_BAR, titleBarTextMarginWidth, toggle, TREE_NODE, TWISTIE, VGAP
NOT_SELECTED, SELECTED
Constructor and Description |
---|
AbstractUnboundEntityCollectionSection(CdmFormFactory formFactory,
eu.etaxonomy.cdm.api.conversation.ConversationHolder conversation,
ICdmFormElement parentElement,
java.lang.String title,
int style) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.swt.widgets.Control |
createToolbar() |
java.util.Collection<ELEMENT> |
getCollection(ENTITY entity)
Deprecated.
this method should not be extended in sub classes of
AbstractUnboundEntityCollectionSection . |
protected abstract java.util.Collection<ELEMENT> |
getEntityCollection(ENTITY entity)
Get all the elements that are represented by this section.
|
addElement, addExisting, allowAddExisting, createDynamicContents, createElementComposite, createEmptyContent, createNewElement, expansionStateChanged, expansionStateChanging, getComparator, getEmptyString, getEntityCollectionElement, getTitleString, getTooltipString, internalUpdateSection, removeElement, removeElementAndUpdate, removeToolbar, setBackground, setEntity, setSectionTitle, setTitleString, showToolbar, update
addElement, addExpandListener, addSelectionListener, containsFormElement, dispose, firePropertyChangeEvent, firePropertyChangeEvent, firePropertyChangeEvent, getControls, getConversationHolder, getElements, getEntity, getFormFactory, getLayoutComposite, getParentElement, getPersistentBackground, getPropertyChangeListeners, getSection, getToggle, propertyChange, refresh, removeElement, removeElements, removeSelectionListener, selectionChanged, setFocus, setPersistentBackground, setPropertyChangeListeners, setSelected, update, widgetSelected
getDescription, getDescriptionControl, getSeparatorControl, getTitleBarBackground, getTitleBarBorderColor, getTitleBarGradientBackground, internalSetExpanded, onPaint, reflow, setBackgroundImage, setDescription, setDescriptionControl, setForeground, setSeparatorControl, setTitleBarBackground, setTitleBarBorderColor, setTitleBarGradientBackground
addExpansionListener, computeSize, forceFocus, getClient, getExpansionStyle, getText, getTextClient, getTextClientHeightDifference, getTitleBarForeground, hasTitleBar, isExpanded, isFixedStyle, removeExpansionListener, setActiveToggleColor, setClient, setEnabled, setExpanded, setFont, setLayout, setMenu, setText, setTextClient, setTitleBarForeground, setToggleColor, setToolTipText
drawBackground, getCaret, getIME, scroll, setCaret, setIME
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isAutoScalable, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBounds, setBounds, setCapture, setCursor, setDragDetect, setLayoutData, setLocation, setLocation, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
public AbstractUnboundEntityCollectionSection(CdmFormFactory formFactory, eu.etaxonomy.cdm.api.conversation.ConversationHolder conversation, ICdmFormElement parentElement, java.lang.String title, int style)
formFactory
- conversation
- parentElement
- title
- style
- @Deprecated public java.util.Collection<ELEMENT> getCollection(ENTITY entity)
AbstractUnboundEntityCollectionSection
.AbstractEntityCollectionSection
getCollection
in class AbstractEntityCollectionSection<ENTITY,ELEMENT>
entity
- a ENTITY object.Collection
object.protected org.eclipse.swt.widgets.Control createToolbar()
createToolbar
in class AbstractEntityCollectionSection<ENTITY,ELEMENT>
Copyright © 2007-2018. All Rights Reserved.