Package com._1c.g5.v8.dt.common.ui.text
Interface IAtLineProcessStrategy
public interface IAtLineProcessStrategy
Main interface for all line process algorithms.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canProcess
(AtLineInfo info) Tells if strategy can process thisAtLineInfo
element.process
(org.eclipse.swt.custom.StyledText textWidget, AtLineInfo info) GetsStyledText
andAtLineInfo
, then uses algorithm to return text, which needs to be shown.
-
Method Details
-
process
GetsStyledText
andAtLineInfo
, then uses algorithm to return text, which needs to be shown.- Parameters:
textWidget
- - StyledText widget, can't benull
.info
- - number of line, can't benull
.- Returns:
- processed String, can't return
null
. - Throws:
IllegalArgumentException
- if any of arguments are null
-
canProcess
Tells if strategy can process thisAtLineInfo
element.- Parameters:
info
- - element to process. Can benull
- Returns:
- true if can process.
-