Mercurial > projects > dwt-addons
comparison dwtx/text/edits/TextEditGroup.d @ 159:7926b636c282
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 01:57:58 +0200 |
parents | a9566845f1cb |
children |
comparison
equal
deleted
inserted
replaced
158:25f1f92fa3df | 159:7926b636c282 |
---|---|
67 * | 67 * |
68 * @param name the name of the text edit group. Must be | 68 * @param name the name of the text edit group. Must be |
69 * a human readable string | 69 * a human readable string |
70 */ | 70 */ |
71 public this(String name) { | 71 public this(String name) { |
72 super(); | 72 // super(); |
73 Assert.isNotNull(name); | 73 Assert.isNotNull(name); |
74 fDescription= name; | 74 fDescription= name; |
75 fEdits= new ArrayList(3); | 75 fEdits= new ArrayList(3); |
76 } | 76 } |
77 | 77 |
98 * @param name the name of the text edit group. Must be | 98 * @param name the name of the text edit group. Must be |
99 * a human readable string | 99 * a human readable string |
100 * @param edits the array of edits | 100 * @param edits the array of edits |
101 */ | 101 */ |
102 public this(String name, TextEdit[] edits) { | 102 public this(String name, TextEdit[] edits) { |
103 super(); | 103 // super(); |
104 Assert.isNotNull(name); | 104 Assert.isNotNull(name); |
105 Assert.isNotNull(edits); | 105 Assert.isTrue(edits !is null); |
106 fDescription= name; | 106 fDescription= name; |
107 fEdits= new ArrayList(Arrays.asList(edits)); | 107 fEdits= new ArrayList(Arrays.asList(edits)); |
108 } | 108 } |
109 | 109 |
110 /** | 110 /** |