Modelers

org.topcased.modeler.export
Class ExporterDescriptor

java.lang.Object
  extended by org.topcased.modeler.export.ExporterDescriptor

public class ExporterDescriptor
extends java.lang.Object

This intermediate class handles the lazy loading of the exporter. With this class the class of the exporter is instanciated the first time the exporter is called but provides accessor for the general properties.


Field Summary
static java.lang.String ATT_CLASS
           
static java.lang.String ATT_EXTENSION
           
static java.lang.String ATT_FORMAT
           
static java.lang.String TAG_EXPORTER
           
 
Method Summary
 IImageExporter getExporter()
          Returns the class that export the figure as image.
 java.lang.String getExtension()
          Returns the file extension for the genrated image
 java.lang.String getFormat()
          Returns the format of the generated image
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_EXPORTER

public static final java.lang.String TAG_EXPORTER
See Also:
Constant Field Values

ATT_FORMAT

public static final java.lang.String ATT_FORMAT
See Also:
Constant Field Values

ATT_EXTENSION

public static final java.lang.String ATT_EXTENSION
See Also:
Constant Field Values

ATT_CLASS

public static final java.lang.String ATT_CLASS
See Also:
Constant Field Values
Method Detail

getExporter

public IImageExporter getExporter()
                           throws org.eclipse.core.runtime.CoreException
Returns the class that export the figure as image.

Returns:
Returns the exporter.
Throws:
org.eclipse.core.runtime.CoreException - if there is an error while loading class

getExtension

public java.lang.String getExtension()
Returns the file extension for the genrated image

Returns:
Returns the extension.

getFormat

public java.lang.String getFormat()
Returns the format of the generated image

Returns:
Returns the format.

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.