Class UserVariable

  • All Implemented Interfaces:
    IVariable

    public class UserVariable
    extends AbstractVariable
    Variable that inserts actual user name
    • Constructor Detail

      • UserVariable

        public UserVariable​(org.eclipse.jface.text.IRegion region)
        Creates new instance of this with given parameters
        Parameters:
        region - The region of this variable in the template, cannot be null
    • Method Detail

      • getVariableText

        protected String getVariableText()
        Description copied from class: AbstractVariable
        Returns text of the variable for the given region
        Specified by:
        getVariableText in class AbstractVariable
        Returns:
        The text of the variable for the given region, can be null