Package lu.kbra.modelizer_next.ui.export
Class ViewExporter
java.lang.Object
lu.kbra.modelizer_next.ui.export.ViewExporter
Exports one or more document views to image files.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionexportViews(Map<PanelType, DiagramCanvas> canvases, ViewExportRequest request, Optional<File> sourceFileName, Consumer<lu.kbra.pclib.datastructure.triplet.Triplet<Optional<File>, PanelType, File>> callback) Exports the views.
-
Field Details
-
DEFAULT_FILE_PATTERN
- See Also:
-
FILE_PATTERN_TOKENS
-
-
Method Details
-
exportViews
public static List<lu.kbra.pclib.datastructure.triplet.Triplet<Optional<File>,PanelType, exportViewsFile>> (Map<PanelType, DiagramCanvas> canvases, ViewExportRequest request, Optional<File> sourceFileName, Consumer<lu.kbra.pclib.datastructure.triplet.Triplet<Optional<File>, throws IOExceptionPanelType, File>> callback) Exports the views.- Parameters:
canvases- canvases value used by the operationrequest- export request being processedsourceFileName- name value to usecallback- callback value used by the operation- Returns:
- an optional result when a matching value is available
- Throws:
IOException- if the operation cannot be completed
-