Mercurial > projects > dwt-addons
diff dwtx/jface/text/DefaultInformationControl.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 |
line wrap: on
line diff
--- a/dwtx/jface/text/DefaultInformationControl.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/DefaultInformationControl.d Sun Aug 24 01:29:22 2008 +0200 @@ -274,7 +274,7 @@ * @param isResizeable <code>true</code> if the control should be resizable * @since 3.4 */ - public DefaultInformationControl(Shell parent, bool isResizeable) { + public this(Shell parent, bool isResizeable) { super(parent, isResizeable); fAdditionalTextStyles= isResizeable ? DWT.V_SCROLL | DWT.H_SCROLL : DWT.NONE; fPresenter= new HTMLTextPresenter(!isResizeable); @@ -289,7 +289,7 @@ * @param statusFieldText the text to be used in the status field or <code>null</code> to hide the status field * @since 3.4 */ - public DefaultInformationControl(Shell parent, String statusFieldText) { + public this(Shell parent, String statusFieldText) { this(parent, statusFieldText, new HTMLTextPresenter(true)); } @@ -303,7 +303,7 @@ * @param presenter the presenter to be used, or <code>null</code> if no presenter should be used * @since 3.4 */ - public DefaultInformationControl(Shell parent, String statusFieldText, IInformationPresenter presenter) { + public this(Shell parent, String statusFieldText, IInformationPresenter presenter) { super(parent, statusFieldText); fAdditionalTextStyles= DWT.NONE; fPresenter= presenter; @@ -319,7 +319,7 @@ * @param toolBarManager the manager or <code>null</code> if toolbar is not desired * @since 3.4 */ - public DefaultInformationControl(Shell parent, ToolBarManager toolBarManager) { + public this(Shell parent, ToolBarManager toolBarManager) { this(parent, toolBarManager, new HTMLTextPresenter(false)); } @@ -333,7 +333,7 @@ * @param presenter the presenter to be used, or <code>null</code> if no presenter should be used * @since 3.4 */ - public DefaultInformationControl(Shell parent, ToolBarManager toolBarManager, IInformationPresenter presenter) { + public this(Shell parent, ToolBarManager toolBarManager, IInformationPresenter presenter) { super(parent, toolBarManager); fAdditionalTextStyles= DWT.V_SCROLL | DWT.H_SCROLL; fPresenter= presenter; @@ -347,7 +347,7 @@ * * @param parent the parent shell */ - public DefaultInformationControl(Shell parent) { + public this(Shell parent) { this(parent, (String)null, null); } @@ -358,7 +358,7 @@ * @param parent the parent shell * @param presenter the presenter to be used */ - public DefaultInformationControl(Shell parent, IInformationPresenter presenter) { + public this(Shell parent, IInformationPresenter presenter) { this(parent, (String)null, presenter); } @@ -374,7 +374,7 @@ * @param presenter the presenter to be used * @deprecated As of 3.4, replaced by simpler constructors */ - public DefaultInformationControl(Shell parent, int shellStyle, int style, IInformationPresenter presenter) { + public this(Shell parent, int shellStyle, int style, IInformationPresenter presenter) { this(parent, shellStyle, style, presenter, null); } @@ -392,7 +392,7 @@ * @since 3.0 * @deprecated As of 3.4, replaced by simpler constructors */ - public DefaultInformationControl(Shell parentShell, int shellStyle, final int style, IInformationPresenter presenter, String statusFieldText) { + public this(Shell parentShell, int shellStyle, final int style, IInformationPresenter presenter, String statusFieldText) { super(parentShell, DWT.NO_FOCUS | DWT.ON_TOP | shellStyle, statusFieldText, null); fAdditionalTextStyles= style; fPresenter= presenter; @@ -409,7 +409,7 @@ * @param presenter the presenter to be used * @deprecated As of 3.4, replaced by {@link #DefaultInformationControl(Shell, DefaultInformationControl.IInformationPresenter)} */ - public DefaultInformationControl(Shell parent, int textStyles, IInformationPresenter presenter) { + public this(Shell parent, int textStyles, IInformationPresenter presenter) { this(parent, textStyles, presenter, null); } @@ -425,7 +425,7 @@ * @since 3.0 * @deprecated As of 3.4, replaced by {@link #DefaultInformationControl(Shell, String, DefaultInformationControl.IInformationPresenter)} */ - public DefaultInformationControl(Shell parent, int textStyles, IInformationPresenter presenter, String statusFieldText) { + public this(Shell parent, int textStyles, IInformationPresenter presenter, String statusFieldText) { super(parent, statusFieldText); fAdditionalTextStyles= textStyles; fPresenter= presenter;