]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.export.core/src/org/simantics/export/core/intf/ContentType.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.export.core / src / org / simantics / export / core / intf / ContentType.java
index 5aec810fe13e1de24c4ef2f8c13f12897482f3fd..1d226fc2d4c7bc233c131a2dded79a2e00b20b33 100644 (file)
@@ -1,64 +1,64 @@
-package org.simantics.export.core.intf;\r
-\r
-import java.util.Collection;\r
-import java.util.Map;\r
-\r
-import org.eclipse.jface.resource.ImageDescriptor;\r
-import org.simantics.export.core.ExportContext;\r
-import org.simantics.export.core.error.ExportException;\r
-\r
-/**\r
- * Content Type extension\r
- *\r
- * @author toni.kalajainen@semantum.fi\r
- */\r
-public interface ContentType extends ContentTypeAction {\r
-       \r
-       /**\r
-        * The identifier for the content type. \r
-        * @return\r
-        */\r
-       String id();\r
-       \r
-       /**\r
-        * The ui label for the content type.\r
-        * @return\r
-        */\r
-       String label();\r
-       \r
-       /**\r
-        * The ui label for the content type in plural.\r
-        * @return\r
-        */\r
-       String plural();\r
-\r
-       /**\r
-        * Content-based icon for a content entity of this content type.\r
-        * @param content\r
-        * @return\r
-        */\r
-       ImageDescriptor icon(String contentUri);\r
-\r
-       /**\r
-        * Fixed icon for the content type\r
-        * @return (Optional) icon\r
-        */\r
-       ImageDescriptor icon();         \r
-\r
-       /**\r
-        * Returns true if the content type is a model type.\r
-        * @return\r
-        */\r
-       boolean isModel();\r
-\r
-       /**\r
-        * Read labels for a collection of contents\r
-        * \r
-        * @param ctx \r
-        * @param contents\r
-        * @return labels\r
-        * @throws ExportException if failed to get a label\r
-        */\r
-       Map<String, String> getLabels( ExportContext ctx, Collection<String> contents ) throws ExportException;\r
-\r
-}\r
+package org.simantics.export.core.intf;
+
+import java.util.Collection;
+import java.util.Map;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.simantics.export.core.ExportContext;
+import org.simantics.export.core.error.ExportException;
+
+/**
+ * Content Type extension
+ *
+ * @author toni.kalajainen@semantum.fi
+ */
+public interface ContentType extends ContentTypeAction {
+       
+       /**
+        * The identifier for the content type. 
+        * @return
+        */
+       String id();
+       
+       /**
+        * The ui label for the content type.
+        * @return
+        */
+       String label();
+       
+       /**
+        * The ui label for the content type in plural.
+        * @return
+        */
+       String plural();
+
+       /**
+        * Content-based icon for a content entity of this content type.
+        * @param content
+        * @return
+        */
+       ImageDescriptor icon(String contentUri);
+
+       /**
+        * Fixed icon for the content type
+        * @return (Optional) icon
+        */
+       ImageDescriptor icon();         
+
+       /**
+        * Returns true if the content type is a model type.
+        * @return
+        */
+       boolean isModel();
+
+       /**
+        * Read labels for a collection of contents
+        * 
+        * @param ctx 
+        * @param contents
+        * @return labels
+        * @throws ExportException if failed to get a label
+        */
+       Map<String, String> getLabels( ExportContext ctx, Collection<String> contents ) throws ExportException;
+
+}