public void mouseClicked(final MouseEvent e) {
   if (e.getButton() == 1 && !e.isPopupTrigger()) {
     Object tag = getTagAt(e);
     if (tag == myTag) {
       final SvnFileRevision revision = getSelectedRevision(e);
       if (revision != null) {
         SvnMergeSourceDetails.showMe(myVcs.getProject(), revision, myFile);
       }
     }
   }
 }
Esempio n. 2
0
 @Override
 public boolean onClick(@NotNull MouseEvent e, int clickCount) {
   if (e.getButton() == 1 && !e.isPopupTrigger()) {
     Object tag = getTagAt(e);
     if (tag == myTag) {
       final SvnFileRevision revision = getSelectedRevision(e);
       if (revision != null) {
         SvnMergeSourceDetails.showMe(myVcs.getProject(), revision, myFile);
         return true;
       }
     }
   }
   return false;
 }