Class ChangeMdPictureTask

    • Constructor Detail

      • ChangeMdPictureTask

        public ChangeMdPictureTask​(MdObject model,
                                   org.eclipse.emf.ecore.EStructuralFeature feature,
                                   byte[] contentsToSet,
                                   String fileExtension,
                                   Point transparentPoint,
                                   IModelObjectFactory modelFactory,
                                   IRuntimeVersionSupport runtimeVersionSupport)
        Constructor.
        Parameters:
        model - the md-object model
        feature - the md-object feature
        contentsToSet - the binary content to set
        fileExtension - the picture file extension
        transparentPoint - the transparent point
        modelFactory - the model object factory
        runtimeVersionSupport - the version support
    • Method Detail

      • execute

        public org.eclipse.core.runtime.IStatus execute​(MdObject model,
                                                        org.eclipse.core.runtime.IProgressMonitor monitor)
        Specified by:
        execute in class BmBasicTask1<MdObject>