Show
Ignore:
Timestamp:
10/19/08 22:24:45 (4 years ago)
Author:
Whitney Sorenson <ws@…>
Branch:
default
Message:

0.8.7 - add support for log on repo, dont block ui thread on history

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • com.goldenhammers.merclipse/src/com/goldenhammers/merclipse/utils/MercurialOperationMonitor.java

    r0 r3  
    1818 */ 
    1919public class MercurialOperationMonitor implements IMercurialOperationMonitor { 
    20                  
     20         
     21        private boolean finished; 
     22         
     23        public MercurialOperationMonitor() { 
     24                this.finished = false; 
     25        } 
     26         
    2127        public void handleLine(String line) throws MercurialException { 
    2228                if (line.startsWith(MercurialUtils.ERROR_INDICATOR)) { 
     
    3238        protected void handleCleanLine(String line) throws MercurialException {} 
    3339 
    34         public void operationFinished() {} 
     40        public void operationFinished() { 
     41                finished = true; 
     42        } 
     43         
     44        public boolean isFinished() { 
     45                return finished; 
     46        } 
    3547 
    3648}