Package org.eclipse.emf.cdo.ui.compare
Class CDOCompareEditorUtil
java.lang.Object
org.eclipse.emf.cdo.ui.compare.CDOCompareEditorUtil
Static methods to open an EMF Compare dialog.
- Since:
- 4.2
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
static final class
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addDisposeRunnables
(Runnable... disposeRunnables) static void
closeEditorWithTransaction
(CDOTransaction transaction) static void
closeTransactionAfterCommit
(CDOTransaction transaction) static Image
static CDOCompareEditorUtil.Input
createComparisonInput
(CDOView leftView, CDOView rightView, Set<CDOID> affectedIDs) static CDOCompareEditorUtil.Input
createComparisonInput
(CDOView leftView, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener) static CDOCompareEditorUtil.Input
createComparisonInput
(CDOView leftView, CDOView rightView, org.eclipse.emf.compare.Comparison comparison) static boolean
static boolean
openDialog
(CDOCommitInfo commitInfo) static boolean
openDialog
(CDOCommitInfo leftCommitInfo, CDOBranchPoint rightPoint) static boolean
openDialog
(CDOSession session, CDOBranchPoint leftPoint, CDOBranchPoint rightPoint) static boolean
openDialog
(CDOCompareEditorUtil.Input input, CDOView rightView) static boolean
openDialog
(CDOViewOpener viewOpener, CDOBranchPoint leftPoint, CDOBranchPoint rightPoint, CDOView[] originView) static boolean
openDialog
(CDOViewOpener viewOpener, CDOTransactionOpener transactionOpener, CDOBranchPoint leftPoint, CDOBranchPoint rightPoint, CDOView[] originView) static boolean
openDialog
(CDOView leftView, CDOView rightView, Set<CDOID> affectedIDs) static boolean
openDialog
(CDOView leftView, CDOView rightView, CDOView[] originView) static boolean
openDialog
(CDOView leftView, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener) static boolean
openEditor
(CDOCommitInfo commitInfo, boolean activate) static boolean
openEditor
(CDOCommitInfo leftCommitInfo, CDOBranchPoint rightPoint, boolean activate) static boolean
openEditor
(CDOViewOpener viewOpener, CDOBranchPoint leftPoint, CDOBranchPoint rightPoint, CDOView[] originView, boolean activate) static boolean
openEditor
(CDOViewOpener viewOpener, CDOTransactionOpener transactionOpener, CDOBranchPoint leftPoint, CDOBranchPoint rightPoint, CDOView[] originView, boolean activate) static boolean
openEditor
(CDOView leftView, CDOView rightView, Set<CDOID> affectedIDs, boolean activate) static boolean
openEditor
(CDOView leftView, CDOView rightView, CDOView[] originView, boolean activate) static void
runWithTitle
(String title, Runnable runnable) static void
setInputConsumer
(Consumer<CDOCompareEditorUtil.Input> consumer) static void
setSuppressCommit
(boolean suppressCommit)
-
Field Details
-
COMPARE_IMAGE
Deprecated.As of 4.7 usecompareImage()
.- Since:
- 4.6
-
PROP_COMPARISON_LABEL
- Since:
- 4.4
- See Also:
-
PROP_COMPARISON_IMAGE
- Since:
- 4.4
- See Also:
-
-
Method Details
-
compareImage
- Since:
- 4.7
-
closeTransactionAfterCommit
- Since:
- 4.4
-
closeEditorWithTransaction
- Since:
- 4.4
-
openEditor
public static boolean openEditor(CDOViewOpener viewOpener, CDOBranchPoint leftPoint, CDOBranchPoint rightPoint, CDOView[] originView, boolean activate) - Since:
- 4.3
-
openEditor
public static boolean openEditor(CDOViewOpener viewOpener, CDOTransactionOpener transactionOpener, CDOBranchPoint leftPoint, CDOBranchPoint rightPoint, CDOView[] originView, boolean activate) - Since:
- 4.3
-
openEditor
public static boolean openEditor(CDOCommitInfo leftCommitInfo, CDOBranchPoint rightPoint, boolean activate) - Since:
- 4.3
-
openEditor
- Since:
- 4.3
-
openEditor
public static boolean openEditor(CDOView leftView, CDOView rightView, CDOView[] originView, boolean activate) - Since:
- 4.3
-
openEditor
public static boolean openEditor(CDOView leftView, CDOView rightView, Set<CDOID> affectedIDs, boolean activate) - Since:
- 4.4
-
openDialog
public static boolean openDialog(CDOSession session, CDOBranchPoint leftPoint, CDOBranchPoint rightPoint) - Since:
- 4.3
-
openDialog
public static boolean openDialog(CDOViewOpener viewOpener, CDOBranchPoint leftPoint, CDOBranchPoint rightPoint, CDOView[] originView) - Since:
- 4.3
-
openDialog
public static boolean openDialog(CDOViewOpener viewOpener, CDOTransactionOpener transactionOpener, CDOBranchPoint leftPoint, CDOBranchPoint rightPoint, CDOView[] originView) - Since:
- 4.3
-
openDialog
-
openDialog
-
openDialog
-
openDialog
public static boolean openDialog(CDOView leftView, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener) - Since:
- 4.3
-
openDialog
- Since:
- 4.4
-
openDialog
- Since:
- 4.4
-
createComparisonInput
public static CDOCompareEditorUtil.Input createComparisonInput(CDOView leftView, CDOView rightView, CDOView[] originView, CDOViewOpener viewOpener) - Since:
- 4.3
-
createComparisonInput
public static CDOCompareEditorUtil.Input createComparisonInput(CDOView leftView, CDOView rightView, Set<CDOID> affectedIDs) - Since:
- 4.4
-
createComparisonInput
public static CDOCompareEditorUtil.Input createComparisonInput(CDOView leftView, CDOView rightView, org.eclipse.emf.compare.Comparison comparison) - Since:
- 4.4
-
runWithTitle
- Since:
- 4.4
-
setInputConsumer
- Since:
- 4.6
-
isSuppressCommit
public static boolean isSuppressCommit()- Since:
- 4.3
-
setSuppressCommit
public static void setSuppressCommit(boolean suppressCommit) - Since:
- 4.3
-
addDisposeRunnables
- Since:
- 4.3
-
compareImage()
.