public class MeshViewComposite extends org.eclipse.swt.widgets.Composite implements IUpdateableListener
Entry
.component
Constructor and Description |
---|
MeshViewComposite(org.eclipse.swt.widgets.Composite parent,
int style)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
setFileEntry(Entry fileEntry)
Sets the current
Entry whose value is treated as a file that
should be rendered via the preferred visualization service. |
void |
update(IUpdateable component)
Listens for changes to the
fileEntry 's current value, which is
expected to be a file name or path. |
changed, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, 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 MeshViewComposite(org.eclipse.swt.widgets.Composite parent, int style)
parent
- a widget which will be the parent of the new instance (cannot
be null)style
- the style of widget to constructpublic void setFileEntry(Entry fileEntry)
Entry
whose value is treated as a file that
should be rendered via the preferred visualization service.
Note: When the Entry
's value changes, this view will
automatically update accordingly.
fileEntry
- The new fileEntry. This value has different effects:
Entry
, nothing is done.null
, the view is cleared.public void update(IUpdateable component)
fileEntry
's current value, which is
expected to be a file name or path.update
in interface IUpdateableListener
component
- The component. This should be the current fileEntry
.public void dispose()
dispose
in class org.eclipse.swt.widgets.Widget