Class SaveImageUtil

java.lang.Object
org.eclipse.tracecompass.tmf.ui.views.SaveImageUtil

@NonNullByDefault public final class SaveImageUtil extends Object
Save Image action creator
Since:
3.3
Author:
Matthew Khouzam
  • 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 name
      controlSupplier - the supplier of the control to take a picture of
      Returns:
      the action.