Package com._1c.g5.v8.dt.bsl.ui.event
Class EventHandlerInformation
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.ui.event.EventHandlerInformation
-
public class EventHandlerInformation extends Object
Class contains information for creating event handler in form bsl module
-
-
Constructor Summary
Constructors Constructor Description EventHandlerInformation(int offset, String handlerName, String handlerContent, org.eclipse.jface.text.ITextSelection selection)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHandlerContent()
Gets the content of the creating handlerString
getHandlerName()
Gets name of the creating handlerint
getOffset()
Gets position for insertingorg.eclipse.jface.text.ITextSelection
getSelection()
Gets actual selection for creating handler
-
-
-
Constructor Detail
-
EventHandlerInformation
public EventHandlerInformation(int offset, String handlerName, String handlerContent, org.eclipse.jface.text.ITextSelection selection)
Constructor- Parameters:
offset
- actual offset for insertinghandlerName
- name of the handler, can't benull
handlerContent
- handler content, can't benull
selection
- selected region after inserting, can't benull
-
-
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
-
-