Image Exporters
Identifier:
org.topcased.modeler.export.exporters
Since:
0.10.0
Description:
This extension point is used to register image exporters. These exporters can be chosen by the user in the export dialog of a Topcased graphical editor.
Configuration Markup:
<!ELEMENT extension (exporter+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT exporter EMPTY>
<!ATTLIST exporter
format CDATA #REQUIRED
extension CDATA #REQUIRED
class CDATA #REQUIRED>
This element is used to add a new exporter.
- format - The format name. This attribute is used as a key in the extension registry then it must be unique.
- extension - The file extension for the exported image format.
- class - The class used to export the diagram. It must implement the interface org.topcased.modeler.export.IImageExporter that defines the expected behavior.
Examples:
This example shows how to ane exporter for th SVG format :
<extension
point=
"org.topcased.modeler.export.exporters"
>
<exporter
class=
"org.topcased.modeler.export.internal.SVGExporter"
extension=
"svg"
format=
"SVG"
/>
</extension>
API Information:
The interface org.topcased.modeler.export.IImageExporter defines the general behavior of an Topcased image exporter.
Supplied Implementation:
None
Copyright (c) 2005, 2006 Anyware Technologies and others.
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