use of com.intellij.diff.DiffDialogHints in project intellij-community by JetBrains.
the class MigrateDiffTool method show.
@Override
public void show(DiffRequest request) {
DiffRequestChain newChain = MigrateToNewDiffUtil.convertRequestChain(request);
WindowWrapper.Mode mode = FrameDiffTool.shouldOpenDialog(request.getHints()) ? WindowWrapper.Mode.MODAL : WindowWrapper.Mode.FRAME;
DiffManager.getInstance().showDiff(request.getProject(), newChain, new DiffDialogHints(mode));
}
Aggregations