Package ca.cgjennings.ui.textedit
Class TileSetCodeSupport.TileSetNavigator
- java.lang.Object
-
- ca.cgjennings.ui.textedit.RegexNavigatorBase
-
- ca.cgjennings.ui.textedit.TileSetCodeSupport.TileSetNavigator
-
- All Implemented Interfaces:
Navigator
- Enclosing class:
- TileSetCodeSupport
public static class TileSetCodeSupport.TileSetNavigator extends RegexNavigatorBase
-
-
Field Summary
-
Fields inherited from class ca.cgjennings.ui.textedit.RegexNavigatorBase
pattern
-
Fields inherited from interface ca.cgjennings.ui.textedit.Navigator
ASYNC_RETRY
-
-
Constructor Summary
Constructors Constructor Description TileSetNavigator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NavigationPoint
createNavigationPoint(java.util.regex.Matcher m, java.lang.String sourceText, boolean initialize)
Called with each match result to create a navigation point based on the match.-
Methods inherited from class ca.cgjennings.ui.textedit.RegexNavigatorBase
dumpRegexThrowable, getNavigationPoints, match
-
-
-
-
Method Detail
-
createNavigationPoint
protected NavigationPoint createNavigationPoint(java.util.regex.Matcher m, java.lang.String sourceText, boolean initialize)
Description copied from class:RegexNavigatorBase
Called with each match result to create a navigation point based on the match. May return null to indicate that no point should be added for the match. The base class returns a simple point based on the text and location of the match.- Overrides:
createNavigationPoint
in classRegexNavigatorBase
- Parameters:
m
- the match informationsourceText
- the source textinitialize
- if true, this is the first match of a new pass- Returns:
- a navigation point for the match, or null
-
-