1 11 package org.eclipse.core.runtime; 12 13 23 public class NullProgressMonitor implements IProgressMonitor { 24 25 28 private boolean cancelled = false; 29 30 33 public NullProgressMonitor() { 34 super(); 35 } 36 37 44 public void beginTask(String name, int totalWork) { 45 } 47 48 55 public void done() { 56 } 58 59 65 public void internalWorked(double work) { 66 } 68 69 78 public boolean isCanceled() { 79 return cancelled; 80 } 81 82 90 public void setCanceled(boolean cancelled) { 91 this.cancelled = cancelled; 92 } 93 94 101 public void setTaskName(String name) { 102 } 104 105 112 public void subTask(String name) { 113 } 115 116 123 public void worked(int work) { 124 } 126 } 127 | Popular Tags |