X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.export.core%2Fsrc%2Forg%2Fsimantics%2Fexport%2Fcore%2FExportExtensionPoint.java;h=3abcf45c15613c6dbbea9300c42cc86c56563dea;hb=c26409b1caf2f1e560d37c5befd11b442399c3fe;hp=960414646293f1bdde3d45beecd639d4dac8d086;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.export.core/src/org/simantics/export/core/ExportExtensionPoint.java b/bundles/org.simantics.export.core/src/org/simantics/export/core/ExportExtensionPoint.java index 960414646..3abcf45c1 100644 --- a/bundles/org.simantics.export.core/src/org/simantics/export/core/ExportExtensionPoint.java +++ b/bundles/org.simantics.export.core/src/org/simantics/export/core/ExportExtensionPoint.java @@ -1,51 +1,51 @@ -package org.simantics.export.core; - -import org.simantics.export.core.intf.ContentType; -import org.simantics.export.core.intf.Discoverer; -import org.simantics.export.core.intf.Exporter; -import org.simantics.export.core.intf.Format; -import org.simantics.export.core.intf.Importer; -import org.simantics.export.core.intf.Publisher; - -/** - * Export Extension Point services - * - * @author toni.kalajainen@semantum.fi - */ -public interface ExportExtensionPoint { - - ContentType[] contentTypes(); - Discoverer[] discoverers(); - Format[] formats(); - Importer[] importers(); - Exporter[] exporters(); - Publisher[] publishers(); - - Discoverer[] getDiscoverers(String contentTypeId); - Format getFormat(String formatId); - Format getFormatByExt(String fileExt); - ContentType getContentType(String contentTypeId); - Importer getImporter(String formatId); - Exporter[] getExporters(String formatId, String contentTypeId); - Publisher getPublisher(String publisherId); - Publisher getPublisherByLabel(String publisherLabel); - int getPublisherIndex(String publisherId); - - /** - * Get exporters for a content type. The result is priority ordered list. - * - * @param contentTypeId - * @return ordered list of exporters - */ - Exporter[] getExportersForContentType(String contentTypeId); - - /** - * Get exporters for a content type. The result is priority ordered list. - * - * @param formatId - * @return ordered list of exporters - */ - Exporter[] getExportersForFormat(String formatId); - - -} +package org.simantics.export.core; + +import org.simantics.export.core.intf.ContentType; +import org.simantics.export.core.intf.Discoverer; +import org.simantics.export.core.intf.Exporter; +import org.simantics.export.core.intf.Format; +import org.simantics.export.core.intf.Importer; +import org.simantics.export.core.intf.Publisher; + +/** + * Export Extension Point services + * + * @author toni.kalajainen@semantum.fi + */ +public interface ExportExtensionPoint { + + ContentType[] contentTypes(); + Discoverer[] discoverers(); + Format[] formats(); + Importer[] importers(); + Exporter[] exporters(); + Publisher[] publishers(); + + Discoverer[] getDiscoverers(String contentTypeId); + Format getFormat(String formatId); + Format getFormatByExt(String fileExt); + ContentType getContentType(String contentTypeId); + Importer getImporter(String formatId); + Exporter[] getExporters(String formatId, String contentTypeId); + Publisher getPublisher(String publisherId); + Publisher getPublisherByLabel(String publisherLabel); + int getPublisherIndex(String publisherId); + + /** + * Get exporters for a content type. The result is priority ordered list. + * + * @param contentTypeId + * @return ordered list of exporters + */ + Exporter[] getExportersForContentType(String contentTypeId); + + /** + * Get exporters for a content type. The result is priority ordered list. + * + * @param formatId + * @return ordered list of exporters + */ + Exporter[] getExportersForFormat(String formatId); + + +}