X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.project%2Fsrc%2Forg%2Fsimantics%2Fproject%2FIProject.java;h=a85aa059c8584a729e832b730b3eb8e9c48ea8de;hb=d42fec85d45018d8187af173d88a6c3f45ae9f69;hp=0c8dd36115d8839efa28e1b856c40f1f862af259;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.project/src/org/simantics/project/IProject.java b/bundles/org.simantics.project/src/org/simantics/project/IProject.java index 0c8dd3611..a85aa059c 100644 --- a/bundles/org.simantics.project/src/org/simantics/project/IProject.java +++ b/bundles/org.simantics.project/src/org/simantics/project/IProject.java @@ -1,88 +1,88 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * 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: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.project; - -import org.simantics.db.Resource; -import org.simantics.db.Session; -import org.simantics.project.exception.ProjectException; -import org.simantics.project.features.IProjectFeature; -import org.simantics.utils.Container; -import org.simantics.utils.datastructures.disposable.IDisposable; -import org.simantics.utils.datastructures.hints.IHintContext; - -/** - *
IProject
. Depending on
- * whether the the project is activated or not, the features will be
- * either configured or unconfigured.
- * @see #activate()
- * @see #deactivate()
- */
- IProjectFeature[] getFeatures();
-
- /**
- * Activates the project.
- *
- * - * This implies invoking all {@link IProjectFeature#configure()} handlers - * that are attached to this project. The invocation order is the same as in - * which {@link #getFeatures()} returns the features. If the project has - * already been activated, this should be a null operation. - *
- *- * This method may only be invoked outside of any transaction. This allows - * the {@link IProjectFeature} handlers to perform arbitrary read and/or - * write requests into the database. - *
- */ - void activate() throws ProjectException; - - /** - * Deactivates the project. - * - *- * A deactivated project can be activated again later, as long as it isn't - * disposed. - *
- * - *- * This implies invoking all {@link IProjectFeature#deconfigure()} handlers - * that are attached to this project. The invocation order is the reverse of - * the activation order. If the project is already inactive, this should be - * a null operation. - *
- * - *- * Project disposal also implies deactivation. - *
- */ - void deactivate() throws ProjectException; - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * 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: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.project; + +import org.simantics.db.Resource; +import org.simantics.db.Session; +import org.simantics.project.exception.ProjectException; +import org.simantics.project.features.IProjectFeature; +import org.simantics.utils.Container; +import org.simantics.utils.datastructures.disposable.IDisposable; +import org.simantics.utils.datastructures.hints.IHintContext; + +/** + *IProject
. Depending on
+ * whether the the project is activated or not, the features will be
+ * either configured or unconfigured.
+ * @see #activate()
+ * @see #deactivate()
+ */
+ IProjectFeature[] getFeatures();
+
+ /**
+ * Activates the project.
+ *
+ * + * This implies invoking all {@link IProjectFeature#configure()} handlers + * that are attached to this project. The invocation order is the same as in + * which {@link #getFeatures()} returns the features. If the project has + * already been activated, this should be a null operation. + *
+ *+ * This method may only be invoked outside of any transaction. This allows + * the {@link IProjectFeature} handlers to perform arbitrary read and/or + * write requests into the database. + *
+ */ + void activate() throws ProjectException; + + /** + * Deactivates the project. + * + *+ * A deactivated project can be activated again later, as long as it isn't + * disposed. + *
+ * + *+ * This implies invoking all {@link IProjectFeature#deconfigure()} handlers + * that are attached to this project. The invocation order is the reverse of + * the activation order. If the project is already inactive, this should be + * a null operation. + *
+ * + *+ * Project disposal also implies deactivation. + *
+ */ + void deactivate() throws ProjectException; + +}