This bundle provides a set of services available with all GMF models.
This bundle is NOT configured by default.
It must be referenced inside attribute importedBundles
from <context> tag:
<context … importedBundles=‘gmf’ />
Get diagram ID for a given diagram : element to use inside <image> tag with the following syntax:
<image object='[diag.getDiagram()/]' …>
…
</image>
Get diagram ID for a diagram: element to use inside <image> tag. User can provide a list of elements in the diagram to display.
Get all elements contained in the diagram.
Indicates if the diagram passed as a parameter is empty or not.
By default, images are generated in PNG format. On Unix OS, they are generated in JPG format.
The following services allow customizing the generation format among the following: PNG, JPEG, GIF, BMP, JPG, SVG.
Get diagram ID for a diagram: element to use inside <image> tag. The second parameter allows choosing the extension of the exported image.
Get diagram ID for a diagram: element to use inside <image> tag. The second parameter allows choosing the extension of the exported image. User can provide a filtered list of elements in the diagram to display.
Get all diagrams found in the model file resource the modelElement belongs to.