本文整理汇总了Java中com.intellij.openapi.vcs.merge.MultipleFileMergeDialog类的典型用法代码示例。如果您正苦于以下问题:Java MultipleFileMergeDialog类的具体用法?Java MultipleFileMergeDialog怎么用?Java MultipleFileMergeDialog使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MultipleFileMergeDialog类属于com.intellij.openapi.vcs.merge包,在下文中一共展示了MultipleFileMergeDialog类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: showMergeDialog
import com.intellij.openapi.vcs.merge.MultipleFileMergeDialog; //导入依赖的package包/类
@Override
@NotNull
public List<VirtualFile> showMergeDialog(@NotNull List<VirtualFile> files,
@NotNull MergeProvider provider,
@NotNull MergeDialogCustomizer mergeDialogCustomizer) {
if (files.isEmpty()) return Collections.emptyList();
VfsUtil.markDirtyAndRefresh(false, false, false, ArrayUtil.toObjectArray(files, VirtualFile.class));
final MultipleFileMergeDialog fileMergeDialog = new MultipleFileMergeDialog(myProject, files, provider, mergeDialogCustomizer);
fileMergeDialog.show();
return fileMergeDialog.getProcessedFiles();
}
示例2: showMergeDialog
import com.intellij.openapi.vcs.merge.MultipleFileMergeDialog; //导入依赖的package包/类
@Override
@NotNull
public List<VirtualFile> showMergeDialog(List<VirtualFile> files, MergeProvider provider, @NotNull MergeDialogCustomizer mergeDialogCustomizer) {
if (files.isEmpty()) return Collections.emptyList();
final MultipleFileMergeDialog fileMergeDialog = new MultipleFileMergeDialog(myProject, files, provider, mergeDialogCustomizer);
fileMergeDialog.show();
return fileMergeDialog.getProcessedFiles();
}
示例3: showMergeDialog
import com.intellij.openapi.vcs.merge.MultipleFileMergeDialog; //导入依赖的package包/类
@Override
@Nonnull
public List<VirtualFile> showMergeDialog(@Nonnull List<VirtualFile> files,
@Nonnull MergeProvider provider,
@Nonnull MergeDialogCustomizer mergeDialogCustomizer) {
if (files.isEmpty()) return Collections.emptyList();
VfsUtil.markDirtyAndRefresh(false, false, false, ArrayUtil.toObjectArray(files, VirtualFile.class));
final MultipleFileMergeDialog fileMergeDialog = new MultipleFileMergeDialog(myProject, files, provider, mergeDialogCustomizer);
fileMergeDialog.show();
return fileMergeDialog.getProcessedFiles();
}