Class BslWrapInRegionHandler

    • Constructor Detail

      • BslWrapInRegionHandler

        public BslWrapInRegionHandler()
    • Method Detail

      • validateSelectRegion

        protected org.eclipse.xtext.util.Pair<Boolean,​String> validateSelectRegion​(Module module,
                                                                                         int startPos,
                                                                                         int endPos)
        Description copied from class: AbstractBslWrapInRegionHandler
        Check for valid selection area of the module
        Specified by:
        validateSelectRegion in class AbstractBslWrapInRegionHandler
        Parameters:
        module - current Module
        startPos - start position of selection
        endPos - end position of selection
        Returns:
        pair of value -
        1) flag - true if selection is valid
        2) error message, can be null