Package com._1c.g5.v8.dt.common.ui.text
Interface IAtLineProcessStrategy
-
public interface IAtLineProcessStrategyMain interface for all line process algorithms.- See Also:
AtPainter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanProcess(AtLineInfo info)Tells if strategy can process thisAtLineInfoelement.Stringprocess(org.eclipse.swt.custom.StyledText textWidget, AtLineInfo info)GetsStyledTextandAtLineInfo, then uses algorithm to return text, which needs to be shown.
-
-
-
Method Detail
-
process
String process(org.eclipse.swt.custom.StyledText textWidget, AtLineInfo info)
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
boolean canProcess(AtLineInfo info)
Tells if strategy can process thisAtLineInfoelement.- Parameters:
info- - element to process. Can benull- Returns:
- true if can process.
-
-