Class ProgressViewer
java.lang.Object
org.eclipse.jface.viewers.Viewer
org.eclipse.jface.viewers.ContentViewer
org.eclipse.jface.viewers.StructuredViewer
com._1c.g5.v8.activitytracking.ui.internal.progress.ProgressViewer
- All Implemented Interfaces:
IInputProvider,IInputSelectionProvider,IPostSelectionProvider,ISelectionProvider
The progress viewer.
Note: borrowed from org.eclipse.ui.internal.progress.DetailedProgressViewer
Note: borrowed from org.eclipse.ui.internal.progress.DetailedProgressViewer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jface.viewers.StructuredViewer
StructuredViewer.ColorAndFontCollector, StructuredViewer.ColorAndFontCollectorWithProviders -
Field Summary
Fields inherited from class org.eclipse.jface.viewers.Viewer
WIDGET_DATA_KEY -
Constructor Summary
ConstructorsConstructorDescriptionProgressViewer(org.eclipse.swt.widgets.Composite parent, int style) Create a new instance of the receiver with a control that is a child of parent with style style. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the specifiedelementsto the viewer.protected org.eclipse.swt.widgets.WidgetdoFindInputItem(Object element) protected org.eclipse.swt.widgets.WidgetdoFindItem(Object element) protected voiddoUpdateItem(org.eclipse.swt.widgets.Widget item, Object element, boolean fullMap) org.eclipse.swt.widgets.Controlprotected voidinputChanged(Object input, Object oldInput) protected voidinternalRefresh(Object element) voidRemoves the specifiedelementsto the viewer.voidprotected voidselectNext(ProgressItem item) Select the next item in the receiver.protected voidselectPrevious(ProgressItem item) Select the previous item in the receiver.voidsetFocus()Set focus on the current selection.protected voidsetSelectionToWidget(List l, boolean reveal) Methods inherited from class org.eclipse.jface.viewers.StructuredViewer
addDoubleClickListener, addDragSupport, addDropSupport, addFilter, addOpenListener, addPostSelectionChangedListener, assertContentProviderType, assertElementsNotNull, associate, buildLabel, disassociate, equals, filter, findItem, findItems, fireDoubleClick, fireOpen, firePostSelectionChanged, getColorAndFontCollector, getComparator, getComparer, getFilteredChildren, getFilters, getItem, getRawChildren, getRoot, getSelection, getSortedChildren, getSorter, getStructuredSelection, handleDispose, handleDoubleSelect, handleInvalidSelection, handleLabelProviderChanged, handleOpen, handlePostSelect, handleSelect, hasFilters, hookControl, internalRefresh, internalUpdate, mapElement, needsRefilter, preservingSelection, refresh, refresh, refresh, refresh, refreshItem, removeDoubleClickListener, removeFilter, removeOpenListener, removePostSelectionChangedListener, resetFilters, setComparator, setComparer, setContentProvider, setFilters, setInput, setLabelProvider, setSelection, setSelectionToWidget, setSorter, setUseHashlookup, testFindItem, testFindItems, unmapAllElements, unmapElement, unmapElement, update, update, updateItem, updateSelection, usingElementMapMethods inherited from class org.eclipse.jface.viewers.ContentViewer
getContentProvider, getInput, getLabelProvider, labelProviderChangedMethods inherited from class org.eclipse.jface.viewers.Viewer
addHelpListener, addSelectionChangedListener, fireHelpRequested, fireSelectionChanged, getData, handleHelpRequest, removeHelpListener, removeSelectionChangedListener, scrollDown, scrollUp, setData, setSelectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jface.viewers.ISelectionProvider
addSelectionChangedListener, removeSelectionChangedListener, setSelection
-
Constructor Details
-
ProgressViewer
public ProgressViewer(org.eclipse.swt.widgets.Composite parent, int style) Create a new instance of the receiver with a control that is a child of parent with style style.- Parameters:
parent- the parent composite, cannot benull.style- the style
-
-
Method Details
-
add
Adds the specifiedelementsto the viewer.- Parameters:
elements- the elements to add, cannot benull.
-
remove
Removes the specifiedelementsto the viewer.- Parameters:
elements- the elements to remove, cannot benull.
-
getControl
public org.eclipse.swt.widgets.Control getControl()- Specified by:
getControlin classViewer
-
setFocus
public void setFocus()Set focus on the current selection. -
reveal
- Specified by:
revealin classStructuredViewer
-
selectPrevious
Select the previous item in the receiver.- Parameters:
item- the item, cannot benull.
-
selectNext
Select the next item in the receiver.- Parameters:
item- the item, cannot benull.
-
doFindInputItem
- Specified by:
doFindInputItemin classStructuredViewer
-
doFindItem
- Specified by:
doFindItemin classStructuredViewer
-
doUpdateItem
- Specified by:
doUpdateItemin classStructuredViewer
-
getSelectionFromWidget
- Specified by:
getSelectionFromWidgetin classStructuredViewer
-
inputChanged
- Overrides:
inputChangedin classViewer
-
internalRefresh
- Specified by:
internalRefreshin classStructuredViewer
-
setSelectionToWidget
- Specified by:
setSelectionToWidgetin classStructuredViewer
-