Skip to content

Projection

Bases: Component

Defining Class Projections

Projection name As projection_class(PARAM1="value", ...) [ Keywords ];

keywords = field(default_factory=dict, kw_only=True)

Projection Syntax and Keywords

Optional dict used to specify keywords for this component.

Use {"Keyword": None} for keywords that do not have a value

Valid Projection keywords
  • Internal – Specifies whether this projection definition is internal (not displayed in the class documentation). Note that the class documentation does not currently display projections at all.

params = field(default_factory=dict)

Property Parameters

Optional dict used to specify Property Parameters for the projection_class

Example
Projection(
    name="MyProj", 
    projection_class="%Projection.Java",
    params={
        "ROOTDIR": "c:\java",
    },
),

projection_class

Required property, specifies the name of the projection class, which is a subclass of %Projection.AbstractProjection.