]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Publisher.java
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.export.core / src / org / simantics / export / core / intf / Publisher.java
diff --git a/bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Publisher.java b/bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Publisher.java
new file mode 100644 (file)
index 0000000..fdd10b5
--- /dev/null
@@ -0,0 +1,33 @@
+package org.simantics.export.core.intf;\r
+\r
+import org.simantics.export.core.error.ExportException;\r
+\r
+/**\r
+ * Publisher\r
+ *\r
+ * @author toni.kalajainen@semantum.fi\r
+ */\r
+public interface Publisher {\r
+\r
+       /**\r
+        * Identifier of the publiser extension.\r
+        * \r
+        * @return id\r
+        */\r
+       String id();\r
+       \r
+       /**\r
+        * Label of the publisher\r
+        * @return the label\r
+        */\r
+       String label();\r
+       \r
+       /**\r
+        * Create class for publishing data.\r
+        * \r
+        * @return\r
+        * @throws ExportException\r
+        */\r
+       PublisherClass publisherClass() throws ExportException;\r
+       \r
+}\r