Mercurial > projects > dwt-addons
comparison dwtx/jface/text/templates/persistence/TemplateStore.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 * @param store the preference store in which to store custom templates | 79 * @param store the preference store in which to store custom templates |
80 * under <code>key</code> | 80 * under <code>key</code> |
81 * @param key the key into <code>store</code> where to store custom | 81 * @param key the key into <code>store</code> where to store custom |
82 * templates | 82 * templates |
83 */ | 83 */ |
84 public TemplateStore(IPreferenceStore store, String key) { | 84 public this(IPreferenceStore store, String key) { |
85 Assert.isNotNull(store); | 85 Assert.isNotNull(store); |
86 Assert.isNotNull(key); | 86 Assert.isNotNull(key); |
87 fPreferenceStore= store; | 87 fPreferenceStore= store; |
88 fKey= key; | 88 fKey= key; |
89 } | 89 } |
98 * @param store the preference store in which to store custom templates | 98 * @param store the preference store in which to store custom templates |
99 * under <code>key</code> | 99 * under <code>key</code> |
100 * @param key the key into <code>store</code> where to store custom | 100 * @param key the key into <code>store</code> where to store custom |
101 * templates | 101 * templates |
102 */ | 102 */ |
103 public TemplateStore(ContextTypeRegistry registry, IPreferenceStore store, String key) { | 103 public this(ContextTypeRegistry registry, IPreferenceStore store, String key) { |
104 this(store, key); | 104 this(store, key); |
105 fRegistry= registry; | 105 fRegistry= registry; |
106 } | 106 } |
107 | 107 |
108 /** | 108 /** |