Class WebBrowserFigure
java.lang.Object
org.eclipse.draw2d.Figure
org.csstudio.opibuilder.widgets.figures.AbstractSWTWidgetFigure<T>
org.csstudio.opibuilder.widgets.figures.AbstractWebBrowserFigure<org.eclipse.ui.internal.browser.BrowserViewer>
org.csstudio.opibuilder.widgets.figures.WebBrowserFigure
- All Implemented Interfaces:
org.eclipse.draw2d.IFigure
public class WebBrowserFigure
extends AbstractWebBrowserFigure<org.eclipse.ui.internal.browser.BrowserViewer>
Figure for a web browser widget.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure
org.eclipse.draw2d.Figure.FigureIterator, org.eclipse.draw2d.Figure.IdentitySearch, org.eclipse.draw2d.Figure.ReverseFigureChildrenIterator
Nested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure
org.eclipse.draw2d.IFigure.NoInsets
-
Field Summary
Fields inherited from class org.csstudio.opibuilder.widgets.figures.AbstractSWTWidgetFigure
editPart, runmode
Fields inherited from class org.eclipse.draw2d.Figure
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTip
Fields inherited from interface org.eclipse.draw2d.IFigure
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.ui.internal.browser.BrowserViewer
createSWTWidget
(Composite parent, int style) Create the SWT widget.This method will be call in constructorAbstractSWTWidgetFigure(AbstractBaseEditPart, int)
protected void
paintOutlineFigure
(org.eclipse.draw2d.Graphics graphics) Paint an outline figure so it can be viewed in outline view in edit mode.void
Methods inherited from class org.csstudio.opibuilder.widgets.figures.AbstractSWTWidgetFigure
dispose, getBackgroundColor, getForegroundColor, getSWTWidget, layout, paintClientArea, relocateWidget, repaintWidget, setBackgroundColor, setCursor, setEnabled, setFont, setForegroundColor, setVisible
Methods inherited from class org.eclipse.draw2d.Figure
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBorder, getBounds, getChildren, getChildrenRevIterable, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getInsets, getLayoutManager, getListeners, getListenersIterable, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, optimizeClip, paint, paintBorder, paintChildren, paintFigure, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setFlag, setFocusTraversable, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate
-
Constructor Details
-
WebBrowserFigure
-
-
Method Details
-
setUrl
- Specified by:
setUrl
in classAbstractWebBrowserFigure<org.eclipse.ui.internal.browser.BrowserViewer>
-
paintOutlineFigure
protected void paintOutlineFigure(org.eclipse.draw2d.Graphics graphics) Description copied from class:AbstractSWTWidgetFigure
Paint an outline figure so it can be viewed in outline view in edit mode. It is a white filled rectangle with gray border by default. Subclass may override it accordingly.- Overrides:
paintOutlineFigure
in classAbstractSWTWidgetFigure<org.eclipse.ui.internal.browser.BrowserViewer>
- Parameters:
graphics
- The Graphics used to paint
-
getBrowser
- Specified by:
getBrowser
in classAbstractWebBrowserFigure<org.eclipse.ui.internal.browser.BrowserViewer>
-
createSWTWidget
protected org.eclipse.ui.internal.browser.BrowserViewer createSWTWidget(Composite parent, int style) Description copied from class:AbstractSWTWidgetFigure
Create the SWT widget.This method will be call in constructorAbstractSWTWidgetFigure(AbstractBaseEditPart, int)
- Specified by:
createSWTWidget
in classAbstractSWTWidgetFigure<org.eclipse.ui.internal.browser.BrowserViewer>
- Parameters:
parent
- the parent composite.style
- style of the SWT widget, which is passed from the constructorAbstractSWTWidgetFigure(AbstractBaseEditPart, int)
- Returns:
- the SWT widget.
-