コード例 #1
0
 public TextRegionsToString addAllReplacements(Iterable<? extends ITextReplacement> regions) {
   for (ITextReplacement region : regions)
     addReplacement((ITextSegment) region, region.getReplacementText());
   return this;
 }
コード例 #2
0
 public TextRegionsToString addReplacement(ITextReplacement region, String description) {
   return addReplacement(region, region.getReplacementText(), description);
 }
コード例 #3
0
 public TextRegionsToString add(ITextReplacement region) {
   return add(region, region.getReplacementText());
 }