Mercurial > projects > dwt-addons
comparison dwtx/jface/text/hyperlink/HyperlinkManager.d @ 133:7d818bd32d63
Fix ctors to this with gvim regexp
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:29:22 +0200 |
parents | c4fb132a086c |
children | 51e6e63f930e |
comparison
equal
deleted
inserted
replaced
132:77bd3bb3d7b8 | 133:7d818bd32d63 |
---|---|
69 */ | 69 */ |
70 public static final class DETECTION_STRATEGY { | 70 public static final class DETECTION_STRATEGY { |
71 | 71 |
72 String fName; | 72 String fName; |
73 | 73 |
74 private DETECTION_STRATEGY(String name) { | 74 private this(String name) { |
75 fName= name; | 75 fName= name; |
76 } | 76 } |
77 | 77 |
78 /* | 78 /* |
79 * @see java.lang.Object#toString() | 79 * @see java.lang.Object#toString() |
144 /** | 144 /** |
145 * Creates a new hyperlink manager. | 145 * Creates a new hyperlink manager. |
146 * | 146 * |
147 * @param detectionStrategy the detection strategy one of {{@link #ALL}, {@link #FIRST}, {@link #LONGEST_REGION_ALL}, {@link #LONGEST_REGION_FIRST}} | 147 * @param detectionStrategy the detection strategy one of {{@link #ALL}, {@link #FIRST}, {@link #LONGEST_REGION_ALL}, {@link #LONGEST_REGION_FIRST}} |
148 */ | 148 */ |
149 public HyperlinkManager(DETECTION_STRATEGY detectionStrategy) { | 149 public this(DETECTION_STRATEGY detectionStrategy) { |
150 Assert.isNotNull(detectionStrategy); | 150 Assert.isNotNull(detectionStrategy); |
151 fDetectionStrategy= detectionStrategy; | 151 fDetectionStrategy= detectionStrategy; |
152 } | 152 } |
153 | 153 |
154 /** | 154 /** |