Class InsertMetadataObjectNameVariableFactory

    • Field Detail

      • INSERT_METADATA_OBJECT_NAME_RU

        public static final String INSERT_METADATA_OBJECT_NAME_RU
        Localized to russian name of the variable to identify it
        See Also:
        Constant Field Values
      • INSERT_METADATA_OBJECT_NAME_ENG

        public static final String INSERT_METADATA_OBJECT_NAME_ENG
        Localized to english name of the variable to identify it
        See Also:
        Constant Field Values
    • Constructor Detail

      • InsertMetadataObjectNameVariableFactory

        public InsertMetadataObjectNameVariableFactory()
    • Method Detail

      • create

        public IVariable create​(IVariableOccurrence occurrence,
                                org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context)
        Description copied from interface: IVariableFactory
        Creates variables for given occurrence
        Specified by:
        create in interface IVariableFactory
        context - The context of this template, cannot be null
        Returns:
        The created variables, cannot be null
      • getDescription

        protected String getDescription()
        Gets creating variable description
        Returns:
        creating variable description, never null
      • getVariableNameRu

        protected String getVariableNameRu()
        Gets Russian name of the creating variable
        Returns:
        Russian name of the creating variable, never null
      • getVariableNameEn

        protected String getVariableNameEn()
        Gets English name of the creating variable
        Returns:
        English name of the creating variable, never null
      • isFullNameMetadataObject

        protected boolean isFullNameMetadataObject()
        Determinates that creating variable return full or not name of metadata object
        Returns:
        true if creating variable return full name of metadata object, false otherwise