comparison dwtx/jface/text/templates/TemplateContextType.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
79 * Creates a context type with an identifier. The identifier must be unique, 79 * Creates a context type with an identifier. The identifier must be unique,
80 * a qualified name is suggested. The id is also used as name. 80 * a qualified name is suggested. The id is also used as name.
81 * 81 *
82 * @param id the unique identifier of the context type 82 * @param id the unique identifier of the context type
83 */ 83 */
84 public TemplateContextType(String id) { 84 public this(String id) {
85 this(id, id); 85 this(id, id);
86 } 86 }
87 87
88 /** 88 /**
89 * Creates a context type with an identifier. The identifier must be unique, a qualified name is suggested. 89 * Creates a context type with an identifier. The identifier must be unique, a qualified name is suggested.
90 * 90 *
91 * @param id the unique identifier of the context type 91 * @param id the unique identifier of the context type
92 * @param name the name of the context type 92 * @param name the name of the context type
93 */ 93 */
94 public TemplateContextType(String id, String name) { 94 public this(String id, String name) {
95 Assert.isNotNull(id); 95 Assert.isNotNull(id);
96 Assert.isNotNull(name); 96 Assert.isNotNull(name);
97 fId= id; 97 fId= id;
98 fName= name; 98 fName= name;
99 } 99 }
124 * types can be contributed via an extension point and that should not be 124 * types can be contributed via an extension point and that should not be
125 * called in client code except for subclass constructors; use 125 * called in client code except for subclass constructors; use
126 * {@link #TemplateContextType(String)} instead. 126 * {@link #TemplateContextType(String)} instead.
127 * </p> 127 * </p>
128 */ 128 */
129 public TemplateContextType() { 129 public this() {
130 } 130 }
131 131
132 /** 132 /**
133 * Sets the id of this context. 133 * Sets the id of this context.
134 * <p> 134 * <p>