Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitNavigationListener.java')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitNavigationListener.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitNavigationListener.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitNavigationListener.java
new file mode 100644
index 0000000000..f46f1f35b1
--- /dev/null
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitNavigationListener.java
@@ -0,0 +1,21 @@
+/*******************************************************************************
+ * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org>
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *******************************************************************************/
+package org.eclipse.egit.ui.internal.history;
+
+import org.eclipse.jgit.revwalk.RevCommit;
+
+interface CommitNavigationListener {
+ /**
+ * Show the requested commit.
+ *
+ * @param c
+ * the commit that the caller is displaying.
+ */
+ void showCommit(RevCommit c);
+}

Back to the top