Package org.eclipse.emf.cdo.ui.widgets
Class CommitHistoryComposite
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.emf.cdo.ui.widgets.CommitHistoryComposite
- All Implemented Interfaces:
Drawable
A UI component that renders a the elements of a
CDOCommitHistory
in form of a commit table with a branch tree.- Since:
- 4.2
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Provides the content of a CommitHistoryComposite, i.e., the elements of aCDOCommitHistory
.static class
Encapsulates the input of aCommitHistoryComposite
.static class
ATableLabelProvider
for the content of a CommitHistoryComposite, i.e., the elements of aCDOCommitHistory
. -
Field Summary
Fields inherited from class org.eclipse.swt.widgets.Widget
nativeZoom
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
commitInfoChanged
(CDOCommitInfo newCommitInfo) protected CommitHistoryComposite.ContentProvider
protected CDOCommitHistory
createHistory
(CDOSession session, CDOBranch branch, CDOObject object) protected CommitHistoryComposite.LabelProvider
protected TableViewer
void
dispose()
protected void
doubleClicked
(CDOCommitInfo commitInfo) final CDOCommitHistory
getInput()
final TableViewer
final int
void
void
refreshLayout
(boolean refreshCommits) boolean
setFocus()
final void
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setLayout, setLayoutDeferred, setTabList, toString
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar, setScrollbarsMode
Methods inherited from class org.eclipse.swt.widgets.Control
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
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, addTypedListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, getTypedListeners, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, removeTypedListener, reskin, setData, setData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.swt.graphics.Drawable
isAutoScalable
-
Constructor Details
-
CommitHistoryComposite
-
-
Method Details
-
getViewerStyle
public final int getViewerStyle()- Since:
- 4.4
-
getTableViewer
-
getLabelProvider
-
getInput
-
setInput
-
refreshLayout
public void refreshLayout() -
refreshLayout
public void refreshLayout(boolean refreshCommits) - Since:
- 4.6
-
getHistory
-
setFocus
public boolean setFocus() -
dispose
public void dispose() -
createTableViewer
-
createContentProvider
-
createLabelProvider
-
createHistory
-
commitInfoChanged
-
doubleClicked
-