]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.project/src/org/simantics/project/features/IProjectFeature.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.project / src / org / simantics / project / features / IProjectFeature.java
index 5f85704660f17709ba24714a70a7f7ee3d5a1ace..513949b3ca055ad6dd3734a692216ef3642ea75c 100644 (file)
@@ -1,18 +1,18 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
+/*******************************************************************************
+ * 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.features;
 
-import org.simantics.project.IProject;\r
-import org.simantics.project.exception.ProjectException;\r
+import org.simantics.project.IProject;
+import org.simantics.project.exception.ProjectException;
 
 /**
  * Interface for project feature runtime classes. It can configure a project
@@ -37,16 +37,16 @@ import org.simantics.project.exception.ProjectException;
  * @see AbstractProjectFeature
  * @see IProjectFeatureDescriptor
  */
-public interface IProjectFeature {\r
-    /**\r
-     * Configures this feature for its project. This is called during\r
-     * {@link IProject#activate()} and should not be called directly by clients.\r
-     * \r
-     * <p>\r
-     * Exceptions thrown by this method will be propagated back to the caller of\r
-     * <code>IProject.activate</code>.\r
-     * \r
-     * @exception ProjectException if this method fails.\r
+public interface IProjectFeature {
+    /**
+     * Configures this feature for its project. This is called during
+     * {@link IProject#activate()} and should not be called directly by clients.
+     * 
+     * <p>
+     * Exceptions thrown by this method will be propagated back to the caller of
+     * <code>IProject.activate</code>.
+     * 
+     * @exception ProjectException if this method fails.
      */
     void configure() throws ProjectException;
 
@@ -62,26 +62,26 @@ public interface IProjectFeature {
      * 
      * @exception ProjectException if this method fails.
      */
-    void deconfigure() throws ProjectException;\r
-\r
-    /**\r
-     * Returns the project to which this project feature applies. This method\r
-     * may only be invoked from within {@link #configure()} and\r
-     * {@link #deconfigure()}. At other times it is not guaranteed to return the\r
-     * project.\r
-     * \r
-     * @return the project handle\r
+    void deconfigure() throws ProjectException;
+
+    /**
+     * Returns the project to which this project feature applies. This method
+     * may only be invoked from within {@link #configure()} and
+     * {@link #deconfigure()}. At other times it is not guaranteed to return the
+     * project.
+     * 
+     * @return the project handle
      */
-    IProject getProjectElement();\r
-\r
-    /**\r
-     * Sets the project to which this feature applies. This method should not be\r
-     * called directly by clients. It is only to be used internally by\r
-     * {@link IProject#activate()} during project activation and more precisely\r
-     * project feature configuration.\r
-     * \r
-     * @param project the project to which this feature applies\r
+    IProject getProjectElement();
+
+    /**
+     * Sets the project to which this feature applies. This method should not be
+     * called directly by clients. It is only to be used internally by
+     * {@link IProject#activate()} during project activation and more precisely
+     * project feature configuration.
+     * 
+     * @param project the project to which this feature applies
      */
-    void setProjectElement(IProject project);\r
+    void setProjectElement(IProject project);
 
 }