|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.Canvas
org.eclipse.actf.visualization.ui.VisualizationCanvas
public class VisualizationCanvas
Utility class to show visualization result into Canvas
Field Summary |
---|
Fields inherited from class org.eclipse.swt.widgets.Control |
---|
handle |
Constructor Summary | |
---|---|
VisualizationCanvas(org.eclipse.swt.widgets.Composite parent)
Create VisualizationCanvas |
|
VisualizationCanvas(org.eclipse.swt.widgets.Composite parent,
int style)
Create VisualizationCanvas |
Method Summary | |
---|---|
void |
clear()
Clear canvas image |
void |
highlight(List<IPositionSize> highlightList)
Highlight specified areas |
void |
setCurrentModelService(IModelService currentModelService)
Set current active model service |
void |
setSync(boolean sync)
Enable/disable view sync with target IModelService |
void |
showImage(org.eclipse.swt.graphics.ImageData imageData,
IModelService targetModelService)
Show ImageData to Canvas and set specified IModelService
as a view sync target |
Methods inherited from class org.eclipse.swt.widgets.Canvas |
---|
drawBackground, getCaret, getIME, scroll, setCaret, setFont, setIME |
Methods inherited from class org.eclipse.swt.widgets.Composite |
---|
changed, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
Methods inherited from class org.eclipse.swt.widgets.Scrollable |
---|
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
Methods inherited from class org.eclipse.swt.widgets.Control |
---|
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, 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, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update |
Methods inherited from class org.eclipse.swt.widgets.Widget |
---|
addDisposeListener, addListener, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, reskin, setData, setData, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VisualizationCanvas(org.eclipse.swt.widgets.Composite parent)
VisualizationCanvas
parent
- parent Composite
public VisualizationCanvas(org.eclipse.swt.widgets.Composite parent, int style)
VisualizationCanvas
parent
- parent Composite
style
- widget styleMethod Detail |
---|
public void setCurrentModelService(IModelService currentModelService)
currentModelService
- target IModelService
public void showImage(org.eclipse.swt.graphics.ImageData imageData, IModelService targetModelService)
ImageData
to Canvas and set specified IModelService
as a view sync target
imageData
- image data to showtargetModelService
- target IModelService
for view syncpublic void clear()
public void highlight(List<IPositionSize> highlightList)
highlightList
- target area information in IPositionSize
formatpublic void setSync(boolean sync)
IModelService
sync
- if true, enable view sync
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |