Package com._1c.g5.v8.dt.bsl.ui.menu
Class AbstractBslBracketSearchHandler
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.core.commands.AbstractHandler
-
- com._1c.g5.v8.dt.bsl.ui.menu.AbstractBslBracketSearchHandler
-
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
- Direct Known Subclasses:
BackBslBracketSearchHandler
,BackBslBracketSearchWithSelectionHandler
,ForwardBslBracketSearchHandler
,ForwardBslBracketSearchWithSelectionHandler
public abstract class AbstractBslBracketSearchHandler extends org.eclipse.core.commands.AbstractHandler
Special handler for stepping between couple of procedure brackets in Bsl module
-
-
Constructor Summary
Constructors Constructor Description AbstractBslBracketSearchHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeBracketSearch(org.eclipse.core.commands.ExecutionEvent event, boolean searchForward)
Executes bracket search in Bsl module (brackets: "(,)"; "[,]"; "if, elseIf, endIf"; "function, endFunction"; "procedure, endProcedure"; "For, While, EndDo"; "Try, Except, EndTry")void
executeBracketSearchWithSelection(org.eclipse.core.commands.ExecutionEvent event, boolean searchForward)
Executes bracket search with selection in Bsl module (brackets: "(,)"; "[,]"; "if, elseIf, endIf"; "function, endFunction"; "procedure, endProcedure"; "For, While, EndDo"; "Try, Except, EndTry")-
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
-
-
-
Method Detail
-
executeBracketSearch
public void executeBracketSearch(org.eclipse.core.commands.ExecutionEvent event, boolean searchForward)
Executes bracket search in Bsl module (brackets: "(,)"; "[,]"; "if, elseIf, endIf"; "function, endFunction"; "procedure, endProcedure"; "For, While, EndDo"; "Try, Except, EndTry")- Parameters:
event
- currentExecutionEvent
, can't benull
searchForward
-true
if forward fast search,false
if back fast search
-
executeBracketSearchWithSelection
public void executeBracketSearchWithSelection(org.eclipse.core.commands.ExecutionEvent event, boolean searchForward)
Executes bracket search with selection in Bsl module (brackets: "(,)"; "[,]"; "if, elseIf, endIf"; "function, endFunction"; "procedure, endProcedure"; "For, While, EndDo"; "Try, Except, EndTry")- Parameters:
event
- currentExecutionEvent
, can't benull
searchForward
-true
if forward fast search,false
if back fast search
-
-