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 TypeMethodDescriptionbooleancanProcess(AtLineInfo info) Tells if strategy can process thisAtLineInfoelement.process(org.eclipse.swt.custom.StyledText textWidget, AtLineInfo info) GetsStyledTextandAtLineInfo, then uses algorithm to return text, which needs to be shown.
-
Method Details
-
process
GetsStyledTextandAtLineInfo, 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 thisAtLineInfoelement.- Parameters:
info- - element to process. Can benull- Returns:
- true if can process.
-