Search in sources :

Example 1 with EditOptionsDialog

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);
}
Also used : CommandCvsHandler(com.intellij.cvsSupport2.cvshandlers.CommandCvsHandler) CvsHandler(com.intellij.cvsSupport2.cvshandlers.CvsHandler) CvsOperationExecutor(com.intellij.cvsSupport2.cvsExecution.CvsOperationExecutor) EditOptionsDialog(com.intellij.cvsSupport2.cvsoperations.cvsEdit.ui.EditOptionsDialog)

Aggregations

CvsOperationExecutor (com.intellij.cvsSupport2.cvsExecution.CvsOperationExecutor)1 CommandCvsHandler (com.intellij.cvsSupport2.cvshandlers.CommandCvsHandler)1 CvsHandler (com.intellij.cvsSupport2.cvshandlers.CvsHandler)1 EditOptionsDialog (com.intellij.cvsSupport2.cvsoperations.cvsEdit.ui.EditOptionsDialog)1