Class PictureExtension


  • public class PictureExtension
    extends Object
    This is an utility class to work with Picture
    • Constructor Detail

      • PictureExtension

        public PictureExtension()
    • Method Detail

      • outputStream

        public static OutputStream outputStream​(org.eclipse.emf.ecore.EObject picture)
        Returns an OutputStream so one can set contents of the provided
        Parameters:
        picture - source picture object, cannot be null
        Returns:
        image data OutputStream
      • clearContents

        public static void clearContents​(org.eclipse.emf.ecore.EObject picture)
        Clears contents of the provided picture
        Parameters:
        picture - source picture object, cannot be null