Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2004-02-27 02:51:46 +0000
committerJean Michel-Lemieux2004-02-27 02:51:46 +0000
commit8e57daa1c3d4e8e45658d1ad6822c193feff0590 (patch)
tree120a06cb57c60828279fc5594fa103903c118d67
parent46860a5c8378971ac9307c22023160335222ff43 (diff)
downloadeclipse.platform.team-8e57daa1c3d4e8e45658d1ad6822c193feff0590.tar.gz
eclipse.platform.team-8e57daa1c3d4e8e45658d1ad6822c193feff0590.tar.xz
eclipse.platform.team-8e57daa1c3d4e8e45658d1ad6822c193feff0590.zip
Is ready to enable outline structure compare
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/OpenInCompareAction.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/OpenInCompareAction.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/OpenInCompareAction.java
index 0a99a1f94..bb4784fc7 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/OpenInCompareAction.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/OpenInCompareAction.java
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.eclipse.team.internal.ui.synchronize.actions;
+import org.eclipse.compare.CompareConfiguration;
import org.eclipse.compare.CompareUI;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
@@ -94,7 +95,9 @@ public class OpenInCompareAction extends Action {
*/
private static SyncInfoCompareInput getCompareInput(ISynchronizeParticipant participant, SyncInfo info) {
if (info != null && info.getLocal() instanceof IFile) {
- return new SyncInfoCompareInput(participant.getName(), info);
+ CompareConfiguration cc = new CompareConfiguration();
+ //cc.setProperty(CompareConfiguration.USE_OUTLINE_VIEW, Boolean.TRUE);
+ return new SyncInfoCompareInput(cc, participant.getName(), info);
}
return null;
}

Back to the top