Class ExportDiagramAsImageDummyImageProvider

java.lang.Object
org.eclipse.graphiti.platform.AbstractExtension
org.eclipse.graphiti.ui.internal.services.impl.ExportDiagramAsImageDummyImageProvider
All Implemented Interfaces:
IExtension, IImageProvider

public class ExportDiagramAsImageDummyImageProvider extends AbstractExtension implements IImageProvider
  • Constructor Details

    • ExportDiagramAsImageDummyImageProvider

      public ExportDiagramAsImageDummyImageProvider()
  • Method Details

    • getPluginId

      public final String getPluginId()
      Specified by:
      getPluginId in interface IImageProvider
      Returns:
      The pluginId of the plug-in containing the image files provided by this image-provider
    • setPluginId

      public final void setPluginId(String pluginId)
      Specified by:
      setPluginId in interface IImageProvider
      Parameters:
      pluginId - The pluginId of the plug-in containing the image files provided by this image-provider
    • getImageFilePath

      public final String getImageFilePath(String imageId)
      Description copied from interface: IImageProvider
      This is a method simply returns the location of the image file in the plug-in. The path is relative to the root of the plug-in. The path must not have a leading "." or path separator. Clients should use a path like "icons/mysample.gif" rather than "./icons/mysample.gif" or "/icons/mysample.gif".

      Specified by:
      getImageFilePath in interface IImageProvider
      Returns:
      imageFilePath the relative path of the image file, relative to the root of the plug-in; the path must be legal