diff options
Diffstat (limited to 'extraplugins/team.collaborative/org.eclipse.papyrus.team.collaborative.core/src/org/eclipse/papyrus/team/collaborative/core/utils/IRunnableWithProgressWithResult.java')
-rw-r--r-- | extraplugins/team.collaborative/org.eclipse.papyrus.team.collaborative.core/src/org/eclipse/papyrus/team/collaborative/core/utils/IRunnableWithProgressWithResult.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extraplugins/team.collaborative/org.eclipse.papyrus.team.collaborative.core/src/org/eclipse/papyrus/team/collaborative/core/utils/IRunnableWithProgressWithResult.java b/extraplugins/team.collaborative/org.eclipse.papyrus.team.collaborative.core/src/org/eclipse/papyrus/team/collaborative/core/utils/IRunnableWithProgressWithResult.java new file mode 100644 index 00000000000..5176ea21438 --- /dev/null +++ b/extraplugins/team.collaborative/org.eclipse.papyrus.team.collaborative.core/src/org/eclipse/papyrus/team/collaborative/core/utils/IRunnableWithProgressWithResult.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (c) 2013 Atos + * 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: + * Arthur Daussy - initial implementation + *******************************************************************************/ +package org.eclipse.papyrus.team.collaborative.core.utils; + +import org.eclipse.jface.operation.IRunnableWithProgress; + + +/** + * The Class AbstractRunnableWithProgressWithResult. + * Runnable used to return a result + * + * @param <T> + * the generic type + */ +public interface IRunnableWithProgressWithResult<T> extends IRunnableWithProgress { + + /** + * Gets the result. + * + * @return the result + */ + public T getResult(); + +} |