|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.diffmerge.swt.DiffDialogHelper
public final class DiffDialogHelper
The Diff Dialog helper provides methods to open a Diff Dialog.
| Method Summary | |
|---|---|
static void |
showDialog(DiffMergeModelContext diffModelContext,
int diffIndex)
This opens a dialog displaying the differences of the elements of the DiffMergeModelContext based on the
index of the difference. |
static void |
showDialog(DiffMergeModelContext diffModelContext,
VControl vControl,
String featureLabel)
Opens a dialog displaying the differences of the elements of the DiffMergeModelContext based on the
provided VControl. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void showDialog(DiffMergeModelContext diffModelContext,
int diffIndex)
throws IllegalArgumentException
DiffMergeModelContext based on the
index of the difference. If the index is not valid, less then 0 or greater equals the number of differences, then
an IllegalArgumentException is thrown.
diffModelContext - the DiffMergeModelContext containing the datadiffIndex - the index of the difference
IllegalArgumentException - if the index is invalid
public static void showDialog(DiffMergeModelContext diffModelContext,
VControl vControl,
String featureLabel)
throws IllegalArgumentException
DiffMergeModelContext based on the
provided VControl.
diffModelContext - the DiffMergeModelContext containing the datavControl - the VControl having the differencesfeatureLabel - the feature text to use in the title of the dialog
IllegalArgumentException - if the controls doesn't have a difference
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||