Class SaveImageUtil
java.lang.Object
org.eclipse.tracecompass.tmf.ui.views.SaveImageUtil
Save Image action creator
- Since:
- 3.3
- Author:
- Matthew Khouzam
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.jface.action.ActioncreateSaveAction(@Nullable String name, Supplier<@Nullable IImageSave> controlSupplier) Create a save action to save the contol image
-
Method Details
-
createSaveAction
public static org.eclipse.jface.action.Action createSaveAction(@Nullable String name, Supplier<@Nullable IImageSave> controlSupplier) Create a save action to save the contol image- Parameters:
name- default file namecontrolSupplier- the supplier of the control to take a picture of- Returns:
- the action.
-