Mercurial > projects > dwt-addons
diff dwtx/jface/text/templates/GlobalTemplateVariables.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 | 000f9136b8f7 |
line wrap: on
line diff
--- a/dwtx/jface/text/templates/GlobalTemplateVariables.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/templates/GlobalTemplateVariables.d Sun Aug 24 01:29:22 2008 +0200 @@ -62,7 +62,7 @@ /** * Creates a new cursor variable */ - public Cursor() { + public this() { super(NAME, TextTemplateMessages.getString("GlobalVariables.variable.description.cursor")); //$NON-NLS-1$ setEvaluationString(""); //$NON-NLS-1$ } @@ -80,7 +80,7 @@ /** * Creates a new word selection variable */ - public WordSelection() { + public this() { super(NAME, TextTemplateMessages.getString("GlobalVariables.variable.description.selectedWord")); //$NON-NLS-1$ } protected String resolve(TemplateContext context) { @@ -103,7 +103,7 @@ /** * Creates a new line selection variable */ - public LineSelection() { + public this() { super(NAME, TextTemplateMessages.getString("GlobalVariables.variable.description.selectedLines")); //$NON-NLS-1$ } protected String resolve(TemplateContext context) { @@ -121,7 +121,7 @@ /** * Creates a new dollar variable */ - public Dollar() { + public this() { super("dollar", TextTemplateMessages.getString("GlobalVariables.variable.description.dollar")); //$NON-NLS-1$ //$NON-NLS-2$ setEvaluationString("$"); //$NON-NLS-1$ } @@ -134,7 +134,7 @@ /** * Creates a new date variable */ - public Date() { + public this() { super("date", TextTemplateMessages.getString("GlobalVariables.variable.description.date")); //$NON-NLS-1$ //$NON-NLS-2$ } protected String resolve(TemplateContext context) { @@ -149,7 +149,7 @@ /** * Creates a new year variable */ - public Year() { + public this() { super("year", TextTemplateMessages.getString("GlobalVariables.variable.description.year")); //$NON-NLS-1$ //$NON-NLS-2$ } protected String resolve(TemplateContext context) { @@ -164,7 +164,7 @@ /** * Creates a new time variable */ - public Time() { + public this() { super("time", TextTemplateMessages.getString("GlobalVariables.variable.description.time")); //$NON-NLS-1$ //$NON-NLS-2$ } @@ -183,7 +183,7 @@ /** * Creates a new user name variable */ - public User() { + public this() { super("user", TextTemplateMessages.getString("GlobalVariables.variable.description.user")); //$NON-NLS-1$ //$NON-NLS-2$ }