public class DataComponentComposite extends org.eclipse.swt.widgets.Composite implements IUpdateableListener
Modifier and Type | Field and Description |
---|---|
org.eclipse.ui.forms.widgets.FormToolkit |
formToolkit
The
FormToolkit used by the parent Form . |
component
Constructor and Description |
---|
DataComponentComposite(DataComponent comp,
org.eclipse.swt.widgets.Composite parentComposite,
int style)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
DataComponent |
getDataComponent()
This operation retrieves the DataComponent that is currently rendered,
updated and monitored by the composite.
|
void |
refresh()
This operation handles a re-draw of EntryComposites that have been
recently changed.
|
void |
setDataComponent(DataComponent component)
This operation sets the DataComponent that should be rendered, updated
and monitored by the composite.
|
void |
setLayout(org.eclipse.swt.widgets.Layout layout)
Overrides the default behavior to store a reference to the layout.
|
void |
setMessageManager(org.eclipse.ui.forms.IMessageManager manager)
This operation sets the message manager that should be used by this
composite and its children to post messages.
|
void |
update(IUpdateable component)
This operation notifies the listener that an update has occurred in the
Component.
|
changed, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, 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, 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, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
public org.eclipse.ui.forms.widgets.FormToolkit formToolkit
FormToolkit
used by the parent Form
. This should be
set by the customized Form
or Page
that created this
DataComponentComposite
in order to properly decorate the rendered
EntryComposite
s. Otherwise, some default decorations are applied.public DataComponentComposite(DataComponent comp, org.eclipse.swt.widgets.Composite parentComposite, int style)
parentComposite
- The parent of this composite.style
- The style in which the composite should be drawn.public void refresh()
public void setDataComponent(DataComponent component)
component
- The DataComponentpublic DataComponent getDataComponent()
public void setLayout(org.eclipse.swt.widgets.Layout layout)
setLayout
in class org.eclipse.swt.widgets.Composite
layout
- The new layout.public void setMessageManager(org.eclipse.ui.forms.IMessageManager manager)
manager
- The message manager.public void update(IUpdateable component)
IUpdateableListener
This operation notifies the listener that an update has occurred in the Component.
update
in interface IUpdateableListener
component
- The component that was updated in some way.