diff options
author | Eike Stepper | 2012-07-19 08:22:04 +0000 |
---|---|---|
committer | Eike Stepper | 2012-07-19 08:22:04 +0000 |
commit | 1460904fd3c193ffaf809913b2983a400fce9d94 (patch) | |
tree | 72f3a17b75fedba3ae1060df1d32c9c7889be954 /plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/om/monitor/OMMonitor.java | |
parent | 5f360965ae87478e0681899bf310a210cafc2c44 (diff) | |
download | cdo-1460904fd3c193ffaf809913b2983a400fce9d94.tar.gz cdo-1460904fd3c193ffaf809913b2983a400fce9d94.tar.xz cdo-1460904fd3c193ffaf809913b2983a400fce9d94.zip |
Fix line endings in master (dos2unix)
Diffstat (limited to 'plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/om/monitor/OMMonitor.java')
-rw-r--r-- | plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/om/monitor/OMMonitor.java | 212 |
1 files changed, 106 insertions, 106 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/om/monitor/OMMonitor.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/om/monitor/OMMonitor.java index 5888b5834a..36532cf125 100644 --- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/om/monitor/OMMonitor.java +++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/om/monitor/OMMonitor.java @@ -1,106 +1,106 @@ -/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.net4j.util.om.monitor;
-
-/**
- * @author Eike Stepper
- * @noextend This interface is not intended to be extended by clients.
- * @noimplement This interface is not intended to be implemented by clients.
- */
-public interface OMMonitor extends OMMonitorProgress
-{
- /**
- * @since 2.0
- */
- public static final int THOUSAND = 1000;
-
- /**
- * @since 2.0
- */
- public static final double DEFAULT_TIME_FACTOR = THOUSAND;
-
- /**
- * @since 2.0
- */
- public boolean isCanceled();
-
- /**
- * @since 2.0
- */
- public void checkCanceled() throws MonitorCanceledException;
-
- /**
- * @since 2.0
- */
- public boolean hasBegun() throws MonitorCanceledException;
-
- /**
- * @since 2.0
- */
- public OMMonitor begin(double totalWork) throws MonitorCanceledException;
-
- /**
- * Same as calling <code>begin(ONE)</code>.
- *
- * @since 2.0
- */
- public OMMonitor begin() throws MonitorCanceledException;
-
- /**
- * @since 2.0
- */
- public void worked(double work) throws MonitorCanceledException;
-
- /**
- * Same as calling <code>worked(ONE)</code>.
- *
- * @since 2.0
- */
- public void worked() throws MonitorCanceledException;
-
- /**
- * @since 2.0
- */
- public OMMonitor fork(double work);
-
- /**
- * Same as calling <code>fork(ONE)</code>.
- *
- * @since 2.0
- */
- public OMMonitor fork();
-
- /**
- * @since 2.0
- */
- public Async forkAsync(double work);
-
- /**
- * Same as calling <code>forkAsync(ONE)</code>.
- *
- * @since 2.0
- */
- public Async forkAsync();
-
- /**
- * @since 2.0
- */
- public void done();
-
- /**
- * @author Eike Stepper
- * @since 2.0
- */
- public interface Async
- {
- public void stop();
- }
-}
+/* + * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Eike Stepper - initial API and implementation + */ +package org.eclipse.net4j.util.om.monitor; + +/** + * @author Eike Stepper + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. + */ +public interface OMMonitor extends OMMonitorProgress +{ + /** + * @since 2.0 + */ + public static final int THOUSAND = 1000; + + /** + * @since 2.0 + */ + public static final double DEFAULT_TIME_FACTOR = THOUSAND; + + /** + * @since 2.0 + */ + public boolean isCanceled(); + + /** + * @since 2.0 + */ + public void checkCanceled() throws MonitorCanceledException; + + /** + * @since 2.0 + */ + public boolean hasBegun() throws MonitorCanceledException; + + /** + * @since 2.0 + */ + public OMMonitor begin(double totalWork) throws MonitorCanceledException; + + /** + * Same as calling <code>begin(ONE)</code>. + * + * @since 2.0 + */ + public OMMonitor begin() throws MonitorCanceledException; + + /** + * @since 2.0 + */ + public void worked(double work) throws MonitorCanceledException; + + /** + * Same as calling <code>worked(ONE)</code>. + * + * @since 2.0 + */ + public void worked() throws MonitorCanceledException; + + /** + * @since 2.0 + */ + public OMMonitor fork(double work); + + /** + * Same as calling <code>fork(ONE)</code>. + * + * @since 2.0 + */ + public OMMonitor fork(); + + /** + * @since 2.0 + */ + public Async forkAsync(double work); + + /** + * Same as calling <code>forkAsync(ONE)</code>. + * + * @since 2.0 + */ + public Async forkAsync(); + + /** + * @since 2.0 + */ + public void done(); + + /** + * @author Eike Stepper + * @since 2.0 + */ + public interface Async + { + public void stop(); + } +} |