X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.project%2Fsrc%2Forg%2Feclipse%2Fequinox%2Finternal%2Fprovisional%2Fp2%2Finstaller%2FIInstallOperation.java;fp=bundles%2Forg.simantics.project%2Fsrc%2Forg%2Feclipse%2Fequinox%2Finternal%2Fprovisional%2Fp2%2Finstaller%2FIInstallOperation.java;h=0fe17e87d338f841d5a7d0470afb7686e9f06a6c;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=1dc36cb3ef5ec4bb5ec067d810847dbd040d722c;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.project/src/org/eclipse/equinox/internal/provisional/p2/installer/IInstallOperation.java b/bundles/org.simantics.project/src/org/eclipse/equinox/internal/provisional/p2/installer/IInstallOperation.java index 1dc36cb3e..0fe17e87d 100644 --- a/bundles/org.simantics.project/src/org/eclipse/equinox/internal/provisional/p2/installer/IInstallOperation.java +++ b/bundles/org.simantics.project/src/org/eclipse/equinox/internal/provisional/p2/installer/IInstallOperation.java @@ -1,43 +1,43 @@ -/******************************************************************************* - * Copyright (c) 2007, 2009 IBM Corporation 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.equinox.internal.provisional.p2.installer; - -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; - -/** - * The operation that will perform the install. This interface exists to allow - * the install advisor to act as the runnable context for the install, handling - * progress monitoring and cancelation. - *
- * This interface is not intended to be implemented by clients. - * @noimplement This interface is not intended to be implemented by clients. - */ -public interface IInstallOperation { - /** - * Performs the install. - *
- * The provided monitor can be used to report progress and respond to
- * cancellation. If the progress monitor has been canceled, the job
- * should finish its execution at the earliest convenience and return a result
- * status of severity {@link IStatus#CANCEL}. The singleton
- * cancel status {@link Status#CANCEL_STATUS} can be used for
- * this purpose. The monitor is only valid for the duration of the invocation
- * of this method.
- *
- * @param monitor the monitor to be used for reporting progress and
- * responding to cancelation, or null
if progress reporting
- * and cancelation are not desired.
- * @return resulting status of the run. The result must not be null
- */
- public IStatus install(IProgressMonitor monitor);
-}
+/*******************************************************************************
+ * Copyright (c) 2007, 2009 IBM Corporation 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:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.equinox.internal.provisional.p2.installer;
+
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+
+/**
+ * The operation that will perform the install. This interface exists to allow
+ * the install advisor to act as the runnable context for the install, handling
+ * progress monitoring and cancelation.
+ *
+ * This interface is not intended to be implemented by clients. + * @noimplement This interface is not intended to be implemented by clients. + */ +public interface IInstallOperation { + /** + * Performs the install. + *
+ * The provided monitor can be used to report progress and respond to
+ * cancellation. If the progress monitor has been canceled, the job
+ * should finish its execution at the earliest convenience and return a result
+ * status of severity {@link IStatus#CANCEL}. The singleton
+ * cancel status {@link Status#CANCEL_STATUS} can be used for
+ * this purpose. The monitor is only valid for the duration of the invocation
+ * of this method.
+ *
+ * @param monitor the monitor to be used for reporting progress and
+ * responding to cancelation, or null
if progress reporting
+ * and cancelation are not desired.
+ * @return resulting status of the run. The result must not be null
+ */
+ public IStatus install(IProgressMonitor monitor);
+}