Search in sources :

Example 1 with DeleteTagDialog

use of com.intellij.cvsSupport2.cvsoperations.cvsTagOrBranch.ui.DeleteTagDialog in project intellij-community by JetBrains.

the class DeleteTagAction method getCvsHandler.

protected CvsHandler getCvsHandler(CvsContext context) {
    final FilePath[] selectedFiles = context.getSelectedFilePaths();
    final DeleteTagDialog deleteTagDialog = new DeleteTagDialog(selectedFiles, context.getProject());
    if (!deleteTagDialog.showAndGet()) {
        return CvsHandler.NULL;
    }
    return CommandCvsHandler.createRemoveTagAction(selectedFiles, deleteTagDialog.getTagName());
}
Also used : FilePath(com.intellij.openapi.vcs.FilePath) DeleteTagDialog(com.intellij.cvsSupport2.cvsoperations.cvsTagOrBranch.ui.DeleteTagDialog)

Aggregations

DeleteTagDialog (com.intellij.cvsSupport2.cvsoperations.cvsTagOrBranch.ui.DeleteTagDialog)1 FilePath (com.intellij.openapi.vcs.FilePath)1