Class ContextMapGenerator

  • All Implemented Interfaces:
    org.eclipse.xtext.generator.IGenerator2

    public class ContextMapGenerator
    extends AbstractContextMapGenerator
    • Constructor Detail

      • ContextMapGenerator

        public ContextMapGenerator()
    • Method Detail

      • setContextMapFormats

        public void setContextMapFormats​(ContextMapFormat... formats)
        Changes the formats which will be generated when calling the generator.
        Parameters:
        formats - the formats which shall be generated
      • setLabelSpacingFactor

        public void setLabelSpacingFactor​(int labelSpacingFactor)
        Changes the spacing used to avoid label overlappings (factor between 1 and 20).
        Parameters:
        labelSpacingFactor - the factor to be used
      • setWidth

        public void setWidth​(int width)
        Changes/fixes the width of the generated image. If the width is fixed, the height will be adjusted dynamically!
      • setHeight

        public void setHeight​(int height)
        Changes/fixes the height of the generated image. If the height is fixed, the width will be adjusted dynamically!
      • printAdditionalLabels

        public void printAdditionalLabels​(boolean printAdditionalLabels)
        Defines whether additional labels for the relationship name and implementation technology are printed or not.
      • printAdditionalLabels

        public boolean printAdditionalLabels()
      • createContextMapGenerator

        protected org.contextmapper.contextmap.generator.ContextMapGenerator createContextMapGenerator()
      • isGraphvizInstalled

        public boolean isGraphvizInstalled()