Class EditVariable

    • Constructor Detail

      • EditVariable

        public EditVariable​(String name,
                            org.eclipse.jface.text.IRegion region)
        Creates new instance of this
        Parameters:
        name - The name of the variable, cannot be null
        region - The region of the occurrence this variable, cannot be null
    • Method Detail

      • getID

        public String getID()
        Description copied from interface: IEditVariable
        Returns the name o this variable to identify it among edit variables. All edit variables with same name are grouped up. Note that this name is not the same name, that IVariableOccurrence provides
        Specified by:
        getID in interface IEditVariable
        Returns:
        The name of the variable ,cannot be null
      • 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