1 11 package org.eclipse.team.internal.core.mapping; 12 13 import org.eclipse.core.runtime.IProgressMonitor; 14 import org.eclipse.core.runtime.ProgressMonitorWrapper; 15 16 public class GroupProgressMonitor extends ProgressMonitorWrapper implements 17 IProgressMonitor { 18 19 private final IProgressMonitor group; 20 private final int ticks; 21 22 public GroupProgressMonitor(IProgressMonitor monitor, IProgressMonitor group, int groupTicks) { 23 super(monitor); 24 this.group = group; 25 this.ticks = groupTicks; 26 } 27 28 public IProgressMonitor getGroup() { 29 return group; 30 } 31 32 public int getTicks() { 33 return ticks; 34 } 35 36 } 37 | Popular Tags |