|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISaveAsImageConfiguration
This interface defines a save as image configuration container, that is used for saving a diagram as an image. The container itself is also capable of providing an image for the figure to save as an image.
| Field Summary | |
|---|---|
static int |
OK
The return code for configure() that indicates a successful
configuration process. |
| Method Summary | |
|---|---|
void |
addExporters(Map<String,Boolean> diagramExporterTypes)
Should add the given exporters to an internal list. |
int |
configure()
Does the actual configuration. |
IFigure |
getFigure()
Returns the figure to be saved as an image. |
String |
getFileExtension()
Returns the file extension to use. |
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. |
| Field Detail |
|---|
static final int OK
configure() that indicates a successful
configuration process.
| Method Detail |
|---|
void addExporters(Map<String,Boolean> diagramExporterTypes)
diagramExporterTypes - A Map holding all exporters.int configure()
String getFormattedFileExtension()
Image getScaledImage()
Image containing what shall be saved.String getFileExtension()
int getImageFormat()
SWT#IMAGE_BMP.
IFigure getFigure()
double getImageScaleFactor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||