Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaxsun McCarthy Huggan2016-03-24 16:30:13 -0400
committerSam Davis2016-03-24 18:06:30 -0400
commit586d2fcfd6e3cfd81f3abf6fc1e21141584ce879 (patch)
tree740dc1cd5164e3ed6da3fd486b0b33f42b24a267 /org.eclipse.mylyn.reviews.ui/src
parentd435f1971ee587f8e3b6a7e6d57db169a4d7f2de (diff)
downloadorg.eclipse.mylyn.reviews-586d2fcfd6e3cfd81f3abf6fc1e21141584ce879.tar.gz
org.eclipse.mylyn.reviews-586d2fcfd6e3cfd81f3abf6fc1e21141584ce879.tar.xz
org.eclipse.mylyn.reviews-586d2fcfd6e3cfd81f3abf6fc1e21141584ce879.zip
488164: add API to open compare editors to a specific comment
Change-Id: I7bcd43388073e41b2082823210a6e7b5afbd59a6 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=488164 Signed-off-by: Jaxsun McCarthy Huggan <jaxsun.mccarthy@tasktop.com>
Diffstat (limited to 'org.eclipse.mylyn.reviews.ui/src')
-rw-r--r--org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/reviews/ui/spi/factories/AbstractReviewItemSetUiFactoryProvider.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/reviews/ui/spi/factories/AbstractReviewItemSetUiFactoryProvider.java b/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/reviews/ui/spi/factories/AbstractReviewItemSetUiFactoryProvider.java
index 6b1f26a3..645ddd58 100644
--- a/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/reviews/ui/spi/factories/AbstractReviewItemSetUiFactoryProvider.java
+++ b/org.eclipse.mylyn.reviews.ui/src/org/eclipse/mylyn/reviews/ui/spi/factories/AbstractReviewItemSetUiFactoryProvider.java
@@ -11,12 +11,13 @@
package org.eclipse.mylyn.reviews.ui.spi.factories;
+import org.eclipse.mylyn.reviews.core.model.IComment;
import org.eclipse.mylyn.reviews.core.model.IFileItem;
import org.eclipse.mylyn.reviews.core.model.IReviewItemSet;
/**
* Provides additional specific factories for supporting opening of review set items.
- *
+ *
* @author Miles Parker
*/
public abstract class AbstractReviewItemSetUiFactoryProvider extends AbstractUiFactoryProvider<IReviewItemSet> {
@@ -24,9 +25,12 @@ public abstract class AbstractReviewItemSetUiFactoryProvider extends AbstractUiF
public abstract AbstractUiFactory<IReviewItemSet> getOpenFileFactory(IUiContext context, IReviewItemSet set,
IFileItem item);
+ public abstract AbstractUiFactory<IReviewItemSet> getOpenFileToCommentFactory(IUiContext context,
+ IReviewItemSet set, IFileItem item, IComment comment);
+
public abstract AbstractUiFactory<IReviewItemSet> getOpenCommitFactory(IUiContext context, IReviewItemSet set);
- public abstract AbstractUiFactory<IReviewItemSet> getOpenParentCommitFactory(IUiContext context,
- IReviewItemSet set, String commitId);
+ public abstract AbstractUiFactory<IReviewItemSet> getOpenParentCommitFactory(IUiContext context, IReviewItemSet set,
+ String commitId);
}

Back to the top