| org.eclipse.ui.internal.progress.AbstractProgressViewer org.eclipse.ui.internal.progress.ProgressCanvasViewer
ProgressCanvasViewer | public class ProgressCanvasViewer extends AbstractProgressViewer (Code) | | The ProgressCanvasViewer is the viewer used by progress windows. It displays text
on the canvas.
|
Constructor Summary | |
| ProgressCanvasViewer(Composite parent, int style, int itemsToShow, int numChars, int orientation) Create a new instance of the receiver with the supplied
parent and style bits. |
ProgressCanvasViewer | ProgressCanvasViewer(Composite parent, int style, int itemsToShow, int numChars, int orientation)(Code) | | Create a new instance of the receiver with the supplied
parent and style bits.
Parameters: parent - The composite the Canvas is created in Parameters: style - style bits for the canvas Parameters: itemsToShow - the number of items this will show Parameters: numChars - The number of characters for the width hint. Parameters: side - the side to display text, this helps determine horizontal vs vertical |
doFindInputItem | protected Widget doFindInputItem(Object element)(Code) | | |
doUpdateItem | protected void doUpdateItem(Widget item, Object element, boolean fullMap)(Code) | | |
getControl | public Control getControl()(Code) | | |
getSelectionFromWidget | protected List getSelectionFromWidget()(Code) | | |
getSizeHints | public Point getSizeHints()(Code) | | Get the size hints for the receiver. These are used for
layout data.
Point - the preferred x and y coordinates |
hookControl | protected void hookControl(Control control)(Code) | | NE: Copied from ContentViewer. We don't want the OpenStrategy hooked
in StructuredViewer.hookControl otherwise the canvas will take focus
since it has a key listener. We don't want this included in the window's
tab traversal order. Defeating it here is more self-contained then
setting the tab list on the shell or other parent composite.
|
internalRefresh | protected void internalRefresh(Object element)(Code) | | |
setLabelProvider | public void setLabelProvider(IBaseLabelProvider labelProvider)(Code) | | |
setSelectionToWidget | protected void setSelectionToWidget(List l, boolean reveal)(Code) | | |
|
|