]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.structural2/src/org/simantics/structural2/scl/StructuralComponent.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.structural2 / src / org / simantics / structural2 / scl / StructuralComponent.java
index 26cec5d87f97c8848459ecdd3e681bce34ce91b4..01ae51ceabf4a512b1db5ec0356d6232c638953b 100644 (file)
@@ -1,25 +1,25 @@
-package org.simantics.structural2.scl;\r
-\r
-import java.util.List;\r
-\r
-import org.simantics.databoard.adapter.AdaptException;\r
-import org.simantics.databoard.binding.Binding;\r
-import org.simantics.db.ReadGraph;\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.utils.datastructures.Pair;\r
-\r
-/**\r
- * Represents a Component that is not a Composite.\r
- * \r
- * @author Hannu Niemistö\r
- */\r
-public abstract class StructuralComponent<Connection> extends StructuralConfiguration<Connection> {\r
-    public abstract Resource      getType(ReadGraph g) throws DatabaseException;\r
-    //public abstract Set<Resource> getAttributes(ReadGraph g) throws DatabaseException;\r
-    //public abstract Variant       getValue(ReadGraph g, Resource attribute) throws DatabaseException;\r
-    public abstract Object        getValue(ReadGraph g, Resource attribute, Binding binding) throws DatabaseException, AdaptException;\r
-    public abstract boolean       isParametrized(ReadGraph g) throws DatabaseException;\r
-    public abstract Connection    getConnection(ReadGraph g, Resource connectionPoint) throws DatabaseException;\r
-    public abstract List<Pair<Resource,Connection>> getConnections(ReadGraph g, Resource connectionPoint) throws DatabaseException;\r
-}\r
+package org.simantics.structural2.scl;
+
+import java.util.List;
+
+import org.simantics.databoard.adapter.AdaptException;
+import org.simantics.databoard.binding.Binding;
+import org.simantics.db.ReadGraph;
+import org.simantics.db.Resource;
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.utils.datastructures.Pair;
+
+/**
+ * Represents a Component that is not a Composite.
+ * 
+ * @author Hannu Niemistö
+ */
+public abstract class StructuralComponent<Connection> extends StructuralConfiguration<Connection> {
+    public abstract Resource      getType(ReadGraph g) throws DatabaseException;
+    //public abstract Set<Resource> getAttributes(ReadGraph g) throws DatabaseException;
+    //public abstract Variant       getValue(ReadGraph g, Resource attribute) throws DatabaseException;
+    public abstract Object        getValue(ReadGraph g, Resource attribute, Binding binding) throws DatabaseException, AdaptException;
+    public abstract boolean       isParametrized(ReadGraph g) throws DatabaseException;
+    public abstract Connection    getConnection(ReadGraph g, Resource connectionPoint) throws DatabaseException;
+    public abstract List<Pair<Resource,Connection>> getConnections(ReadGraph g, Resource connectionPoint) throws DatabaseException;
+}