Interface ComparisonDialogOperation
public interface ComparisonDialogOperation
Operation for comparing two revisions of a
DataProvider
element.- Since:
- 5.2.190303
-
Field Summary
Modifier and TypeFieldDescriptionstatic final OperationType<ComparisonDialogOperation>
Operation for comparing two revisions of aDataProvider
element. -
Method Summary
Modifier and TypeMethodDescription@NotNull ComparisonDialogOperation
baseRevision
(@Nullable Revision revision) Configures the base revision for the comparison dialog, displayed on the right side of the dialog.@NotNull ComparisonDialogOperation
compareToRevision
(@Nullable Revision revision) Configures the revision to compare the base revision to, displayed on the left side of the dialog.@NotNull ComparisonDialogOperation
Configures the persistency languages to be shown in the comparison dialog.void
perform
(@NotNull DataProvider element) Opens the comparison dialog using the configured settings.
-
Field Details
-
TYPE
Operation for comparing two revisions of aDataProvider
element.- Since:
- 5.2.190303
-
-
Method Details
-
baseRevision
Configures the base revision for the comparison dialog, displayed on the right side of the dialog. The default value for the base revision is the current revision of the givenDataProvider
.- Parameters:
revision
- The base revision.- Returns:
- This operation instance.
- Since:
- 5.2.190303
-
compareToRevision
@NotNull @NotNull ComparisonDialogOperation compareToRevision(@Nullable @Nullable Revision revision) Configures the revision to compare the base revision to, displayed on the left side of the dialog. The default value for the compare revision is the release revision of theDataProvider
, if available.- Parameters:
revision
- The compare revision.- Returns:
- This operation instance.
- Since:
- 5.2.190303
-
languages
Configures the persistency languages to be shown in the comparison dialog. By default all persistency languages will be visualized.- Parameters:
languages
- The persistency languages to be displayed.- Returns:
- This operation instance.
- Since:
- 5.2.190303
-
perform
Opens the comparison dialog using the configured settings. This method will wait for the user to close the dialog.- Since:
- 5.2.190303
-