The EditInstanceComponentTemplateProcessor class is a generator responsible for generating React component source code to enable edit instance capability for a given aggregate instance. It extends the PresentationLayerTemplateGenerator template generator and makes use of EditInstanceReactComponentTemplate for template population and rendering.

Hierarchy (View Summary)

Constructors

Properties

_filePath: string
_templatePath: string
_templateRenderer: TemplateGenerator<EditInstanceReactComponentTemplate>
strategyIdentifier: string = "edit-react-component-generator"

Methods

  • Retrieves the title of a template page in the specified language.

    Parameters

    • pageTitleLanguageString: undefined | LanguageString

      An object containing language-specific titles.

    • languageId: string = "en"

      The language identifier for the title. Defaults to "en", if not provided.

    Returns null | string

    The page title in the specified language, or the first available language if not found.