use of com.intellij.cvsSupport2.cvsoperations.cvsEdit.ui.EditOptionsDialog in project intellij-community by JetBrains.
the class CvsVcs2 method editFiles.
public void editFiles(final VirtualFile[] files) {
if (getEditOptions().getValue()) {
EditOptionsDialog editOptionsDialog = new EditOptionsDialog(myProject);
if (!editOptionsDialog.showAndGet()) {
return;
}
}
final CvsHandler editHandler = CommandCvsHandler.createEditHandler(files, CvsConfiguration.getInstance(myProject).RESERVED_EDIT);
new CvsOperationExecutor(true, myProject, ModalityState.current()).performActionSync(editHandler, CvsOperationExecutorCallback.EMPTY);
}
Aggregations