public class FormPictureControl extends AbstractPictureControl<org.eclipse.ui.forms.widgets.Hyperlink>
AbstractPictureControl
implementation with Forms Hyperlink
.BUNDLE_NAME, IMAGE_BYTEARRAY_PROPERTY, resources
Constructor and Description |
---|
FormPictureControl(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit)
Constructor for
FormPictureControl with default SWT styles. |
FormPictureControl(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.forms.widgets.FormToolkit toolkit,
int compositeStyle,
int labelStyle,
int linkStyle)
Constructor for
FormPictureControl with given SWT style . |
Modifier and Type | Method and Description |
---|---|
protected void |
addDeleteImageHandler(org.eclipse.ui.forms.widgets.Hyperlink deleteImageLink)
Add the handler to delete the image to the Link control.
|
protected void |
addModifyImageHandler(org.eclipse.ui.forms.widgets.Hyperlink modifyImageLink)
Add the handler to open Explorer files to the Link control.
|
protected org.eclipse.swt.widgets.Composite |
createComposite(org.eclipse.swt.widgets.Composite parent,
int style)
Create a SWT
Composite . |
protected org.eclipse.swt.widgets.Label |
createLabel(org.eclipse.swt.widgets.Composite parent,
int style)
Create a SWT
Label . |
protected org.eclipse.ui.forms.widgets.Hyperlink |
createLink(org.eclipse.swt.widgets.Composite parent,
int style)
Create a SWT control for the "Modify" Link.
|
protected void |
setLinkText(org.eclipse.ui.forms.widgets.Hyperlink link,
java.lang.String text)
Set the text of a Link control.
|
addPropertyChangeListener, configure, createLabelImage, createMenu, createUI, dispose, getDeleteImageLink, getFileDialogStyle, getImageByteArray, getImageStream, getMaxImageHeight, getMaxImageWidth, getModifyImageLink, getPictureLabel, getResizedImageData, handleDeleteImage, handleError, handleModifyImage, propertyChange, removePropertyChangeListener, setDefaultImage, setDeleteImageLinkText, setFilterExtensions, setImageByteArray, setImageStream, setLocale, setMaxImageHeight, setMaxImageWidth, setModifyImageLinkText
changed, checkSubclass, 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, 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, requestLayout, 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
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
public FormPictureControl(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.forms.widgets.FormToolkit toolkit)
FormPictureControl
with default SWT styles.parent
- a composite control which will be the parent of the new
instance (cannot be null)public FormPictureControl(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.forms.widgets.FormToolkit toolkit, int compositeStyle, int labelStyle, int linkStyle)
FormPictureControl
with given SWT style .parent
- a composite control which will be the parent of the new
instance (cannot be null)compositeStyle
- SWT style of the SWT Composite which host Label+Link controls.labelStyle
- SWT style of the Label control.linkStyle
- SWT style of the Link control.protected org.eclipse.swt.widgets.Label createLabel(org.eclipse.swt.widgets.Composite parent, int style)
AbstractPictureControl
Label
.createLabel
in class AbstractPictureControl<org.eclipse.ui.forms.widgets.Hyperlink>
parent
- a composite control which will be the parent of the new
instance (cannot be null)style
- the style of control to constructprotected org.eclipse.ui.forms.widgets.Hyperlink createLink(org.eclipse.swt.widgets.Composite parent, int style)
AbstractPictureControl
createLink
in class AbstractPictureControl<org.eclipse.ui.forms.widgets.Hyperlink>
parent
- a composite control which will be the parent of the new
instance (cannot be null)style
- the style of control to constructprotected org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite parent, int style)
AbstractPictureControl
Composite
.createComposite
in class AbstractPictureControl<org.eclipse.ui.forms.widgets.Hyperlink>
parent
- a composite control which will be the parent of the new
instance (cannot be null)style
- the style of control to constructprotected void setLinkText(org.eclipse.ui.forms.widgets.Hyperlink link, java.lang.String text)
AbstractPictureControl
setLinkText
in class AbstractPictureControl<org.eclipse.ui.forms.widgets.Hyperlink>
protected void addModifyImageHandler(org.eclipse.ui.forms.widgets.Hyperlink modifyImageLink)
AbstractPictureControl
addModifyImageHandler
in class AbstractPictureControl<org.eclipse.ui.forms.widgets.Hyperlink>
protected void addDeleteImageHandler(org.eclipse.ui.forms.widgets.Hyperlink deleteImageLink)
AbstractPictureControl
addDeleteImageHandler
in class AbstractPictureControl<org.eclipse.ui.forms.widgets.Hyperlink>