public abstract class CommitVersionDockableWindow extends DockableWindow
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CommitVersionDockableWindow.CommitDetail  | 
class  | 
CommitVersionDockableWindow.TabbedComponent  | 
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
COMMIT_FILE_PATH  | 
static java.lang.String | 
COMMIT_ID  | 
CLOSED, HIDDEN, SHOWNEMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROPDEFAULT_VISIBILITY_MINIMIZED, DEFAULT_VISIBILITY_RAISED, DEFAULT_VISIBILITY_VISIBLE, TYPE_DISCARDABLE, TYPE_FORGETTABLE, TYPE_GLOBAL_VISIBLE, TYPE_NO_BUTTONS, TYPE_NORMAL, TYPE_NOT_TABBED, TYPE_RECYCLABLE, TYPE_TRUNCATE_TITLE| Constructor and Description | 
|---|
CommitVersionDockableWindow(java.lang.String viewId)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
clearPath()
clear the path for the commit history 
 | 
protected abstract Controller | 
createController()  | 
protected abstract void | 
createLocalActions()  | 
void | 
dockableShown(DockableEvent event)
This method is called when the window is shown. 
 | 
protected void | 
exceptionHandler(VCSException ex)  | 
protected boolean | 
extendClipboard()  | 
protected java.lang.String | 
getClipBoardValue(java.awt.event.ActionEvent e)  | 
protected abstract java.lang.String | 
getCommitId(CommitHistoryItem item)  | 
protected GenericTable | 
getCommitTable()  | 
protected abstract CommitHistoryDetail | 
getCommitVersionDetail(java.lang.Object userObject,
                      CommitCancel cancel)  | 
protected boolean | 
getCommitVersionDetailDiff(java.lang.Object userObject,
                          java.util.Collection<CommitHistoryDetail.FileDetail> fileDetail,
                          CommitCancel cancel)  | 
Context | 
getContext(java.util.EventObject eo)  | 
ContextMenu | 
getContextMenu()  | 
protected abstract ContextMenuListener | 
getContextMenuListener()  | 
Controller | 
getController()
Get the  
Controller associated with this view. | 
protected java.lang.String | 
getDescription(CommitHistoryItem item)  | 
protected java.net.URL | 
getDirectoryURL()  | 
protected java.util.Map<java.lang.String,Pair<java.lang.Integer,java.lang.Integer>> | 
getFileDifferences(java.io.OutputStream stream)
Get file names and number of line inserts / deletes for a git formated differences 
 | 
java.awt.Component | 
getGUI()  | 
protected abstract Pair<java.lang.String,javax.swing.Action> | 
getLinkTextFromMessage(java.lang.String message)  | 
protected IdeAction | 
getLocalAction(int cmdId)  | 
protected java.lang.String | 
getMessageLabel()  | 
protected javax.swing.JCheckBox | 
getPathCheckBox()  | 
protected java.lang.String | 
getPathCheckboxLabel(java.net.URL url)  | 
protected abstract java.lang.String | 
getSettingsKey()  | 
protected CommitVersionDockableWindow.TabbedComponent[] | 
getTabbedComponents()  | 
protected abstract java.lang.String | 
getThobberLabel()  | 
Toolbar | 
getToolbar()
Get the toolbar associated with this view. 
 | 
protected abstract Toolbar | 
getToolbarImpl()  | 
protected void | 
installTableModel(CommitHistoryTableModel model)  | 
boolean | 
isBusy()  | 
protected boolean | 
isVersioned(java.net.URL url)  | 
protected boolean | 
populateTabs(java.lang.Object userObject,
            java.util.Collection<CommitHistoryDetail.FileDetail> fileDetail,
            CommitCancel cancel)  | 
protected abstract void | 
refresh()  | 
protected void | 
resetCommitDetail()  | 
protected abstract void | 
setSelectedCommitId(java.lang.String commitId)  | 
protected void | 
showMessage(java.lang.String message)  | 
protected void | 
showProgress()  | 
protected void | 
showResults()  | 
void | 
update(java.net.URL url,
      java.lang.String commitId)  | 
addTitleChangeListener, close, dockableHidden, fireTitleChangeListener, getCachedDockable, getDefaultVisibility, getHeaderComponents, getHostedComponent, getMenuTitle, getSite, getTabDropListener, getTabIcon, getType, getUniqueName, isDrawer, isVisible, removeTitleChangeListener, setDockableVisible, setSite, setType, show, stateChange, updateTitleafterAutoExpanding, afterRestoringFromAutoExpansion, beforeAutoExpanding, getAutoExpansionPreferredSize, getAutoExpansionSize, isAutoExpandable, isAutoExpandableEnabled, setAutoExpandable, setAutoExpandableEnabledactivate, deactivate, getDecorated, getHelpInfo, getSelectionFromUI, getViewWithoutDecoration, isDecorated, loadLayout, newId, saveLayout, setDecorated, setOwner, setToolbarVisible, updateVisibleActionsaddViewListener, addViewSelectionListener, addViewStateListener, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, getContext, getId, getSelection, getTabName, loadManifestToolbar, loadManifestToolbar, owner, removeViewListener, removeViewSelectionListener, removeViewStateListener, scheduleUpdateSelection, setId, toString, updateSelection, updateSelectionImpl, updateToolbarActions, updateVisibleActionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTabName, getTitleName, loadLayout, saveLayoutpublic static final java.lang.String COMMIT_FILE_PATH
public static final java.lang.String COMMIT_ID
public CommitVersionDockableWindow(java.lang.String viewId)
protected abstract Controller createController()
protected abstract java.lang.String getThobberLabel()
protected abstract Toolbar getToolbarImpl()
protected abstract ContextMenuListener getContextMenuListener()
protected abstract void refresh()
protected abstract CommitHistoryDetail getCommitVersionDetail(java.lang.Object userObject, CommitCancel cancel) throws VCSException
VCSExceptionprotected abstract void createLocalActions()
protected abstract java.lang.String getSettingsKey()
protected abstract Pair<java.lang.String,javax.swing.Action> getLinkTextFromMessage(java.lang.String message)
protected abstract void setSelectedCommitId(java.lang.String commitId)
protected abstract java.lang.String getCommitId(CommitHistoryItem item)
public final Controller getController()
ControllerProviderController associated with this view.getController in interface ControllerProvidergetController in class ViewDecoratorpublic java.awt.Component getGUI()
getGUI in class ViewDecoratorpublic final void dockableShown(DockableEvent event)
DockableWindowDockableView.SHOWN).dockableShown in class DockableWindowpublic final Toolbar getToolbar()
ViewgetToolbar in class ViewDecoratorpublic final ContextMenu getContextMenu()
getContextMenu in class ViewDecoratorContextMenu, if any.public Context getContext(java.util.EventObject eo)
getContext in class ViewDecoratoreo - event associated with the context.public final boolean isBusy()
public void update(java.net.URL url,
                   java.lang.String commitId)
protected java.lang.String getPathCheckboxLabel(java.net.URL url)
protected IdeAction getLocalAction(int cmdId)
protected java.lang.String getClipBoardValue(java.awt.event.ActionEvent e)
protected boolean extendClipboard()
protected final void showProgress()
protected final void showMessage(java.lang.String message)
protected final void showResults()
protected javax.swing.JCheckBox getPathCheckBox()
protected void clearPath()
protected java.net.URL getDirectoryURL()
protected final GenericTable getCommitTable()
protected void installTableModel(CommitHistoryTableModel model)
protected void resetCommitDetail()
protected java.lang.String getDescription(CommitHistoryItem item)
protected boolean getCommitVersionDetailDiff(java.lang.Object userObject,
                                             java.util.Collection<CommitHistoryDetail.FileDetail> fileDetail,
                                             CommitCancel cancel)
                                      throws VCSException
VCSExceptionprotected boolean populateTabs(java.lang.Object userObject,
                               java.util.Collection<CommitHistoryDetail.FileDetail> fileDetail,
                               CommitCancel cancel)
                        throws VCSException
VCSExceptionprotected CommitVersionDockableWindow.TabbedComponent[] getTabbedComponents()
protected java.lang.String getMessageLabel()
protected java.util.Map<java.lang.String,Pair<java.lang.Integer,java.lang.Integer>> getFileDifferences(java.io.OutputStream stream) throws java.io.IOException
stream - differencesjava.io.IOExceptionprotected void exceptionHandler(VCSException ex)
protected boolean isVersioned(java.net.URL url)