Class EventHandlerInformation


  • public class EventHandlerInformation
    extends Object
    Class contains information for creating event handler in form bsl module
    • Constructor Detail

      • EventHandlerInformation

        public EventHandlerInformation​(int offset,
                                       String handlerName,
                                       String handlerContent,
                                       org.eclipse.jface.text.ITextSelection selection)
        Constructor
        Parameters:
        offset - actual offset for inserting
        handlerName - name of the handler, can't be null
        handlerContent - handler content, can't be null
        selection - selected region after inserting, can't be null
    • Method Detail

      • getOffset

        public int getOffset()
        Gets position for inserting
        Returns:
        the offset
      • getHandlerName

        public String getHandlerName()
        Gets name of the creating handler
        Returns:
        name of the creating handler, can't be null
      • getHandlerContent

        public String getHandlerContent()
        Gets the content of the creating handler
        Returns:
        the content of the creating handler, can't be null
      • getSelection

        public org.eclipse.jface.text.ITextSelection getSelection()
        Gets actual selection for creating handler
        Returns:
        actual selection for creating handler, never null