blob: 5ca4ec3853f188b6db016abbd31e9844bc73be3a [file] [log] [blame]
Richard S. Hall85bafab2009-07-13 13:25:46 +00001/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20package org.cauldron.bld.core.repository;
21
22import org.eclipse.core.runtime.IProgressMonitor;
23import org.cauldron.sigil.repository.IResolutionMonitor;
24
25public class ProgressWrapper implements IProgressMonitor {
26
27 private IResolutionMonitor monitor;
28
29 public ProgressWrapper(IResolutionMonitor monitor) {
30 this.monitor = monitor;
31 }
32
33 public boolean isCanceled() {
34 return monitor.isCanceled();
35 }
36
37 public void beginTask(String name, int totalWork) {
38 // TODO Auto-generated method stub
39
40 }
41
42 public void done() {
43 // TODO Auto-generated method stub
44
45 }
46
47 public void internalWorked(double work) {
48 // TODO Auto-generated method stub
49
50 }
51
52 public void setCanceled(boolean value) {
53 // TODO Auto-generated method stub
54
55 }
56
57 public void setTaskName(String name) {
58 // TODO Auto-generated method stub
59
60 }
61
62 public void subTask(String name) {
63 // TODO Auto-generated method stub
64
65 }
66
67 public void worked(int work) {
68 // TODO Auto-generated method stub
69
70 }
71}