public interface ISaveAsImageConfiguration
Modifier and Type | Field and Description |
---|---|
static int |
OK
The return code for
configure() that indicates a successful
configuration process. |
Modifier and Type | Method and Description |
---|---|
void |
addExporters(java.util.Map<java.lang.String,java.lang.Boolean> diagramExporterTypes)
Should add the given exporters to an internal list.
|
int |
configure()
Does the actual configuration.
|
org.eclipse.draw2d.IFigure |
getFigure()
Returns the figure to be saved as an image.
|
java.lang.String |
getFileExtension()
Returns the file extension to use.
|
java.lang.String |
getFormattedFileExtension()
Returns the selected file extension formatted in a standard way, e.g.
|
int |
getImageFormat()
Returns the image format as defined by the SWT.IMAGE_* constants like
SWT.IMAGE_BMP . |
double |
getImageScaleFactor()
Retunrs the scale factor to be used in the saved image.
|
Image |
getScaledImage()
Returns the image in the final scaled version that fits the zooom factor
etc.
|
static final int OK
configure()
that indicates a successful
configuration process.void addExporters(java.util.Map<java.lang.String,java.lang.Boolean> diagramExporterTypes)
diagramExporterTypes
- A Map
holding all exporters.int configure()
java.lang.String getFormattedFileExtension()
Image getScaledImage()
Image
containing what shall be saved.java.lang.String getFileExtension()
int getImageFormat()
SWT.IMAGE_BMP
.org.eclipse.draw2d.IFigure getFigure()
double getImageScaleFactor()