1 11 package org.eclipse.core.resources; 12 13 import org.eclipse.core.runtime.CoreException; 14 import org.eclipse.core.runtime.Status; 15 16 25 public class WorkspaceLock { 26 27 30 public WorkspaceLock(IWorkspace workspace) throws CoreException { 31 if (false) 33 throw new CoreException(Status.OK_STATUS); 34 } 35 36 44 public boolean acquire() throws InterruptedException { 45 if (false) 47 throw new InterruptedException (); 48 return false; 49 } 50 51 54 protected Thread getCurrentOperationThread() { 55 return null; 57 } 58 59 66 public void release() { 67 } 69 70 77 protected boolean isTreeLocked() { 78 return true; 80 } 81 } 82 | Popular Tags |