diff dwtx/jface/dialogs/TrayDialog.d @ 43:ea8ff534f622

Fix override and super aliases
author Frank Benoit <benoit@tionex.de>
date Fri, 11 Apr 2008 01:24:25 +0200
parents 644f1334b451
children 46a6e0e6ccd4
line wrap: on
line diff
--- a/dwtx/jface/dialogs/TrayDialog.d	Thu Apr 10 19:10:12 2008 +0200
+++ b/dwtx/jface/dialogs/TrayDialog.d	Fri Apr 11 01:24:25 2008 +0200
@@ -143,7 +143,7 @@
     /* (non-Javadoc)
      * @see dwtx.jface.dialogs.Dialog#close()
      */
-    public bool close() {
+    public override bool close() {
         /*
          * Close the tray to ensure that those dialogs that remember their
          * size do not store the tray size.
@@ -157,7 +157,7 @@
     /* (non-Javadoc)
      * @see dwtx.jface.dialogs.Dialog#createButtonBar(dwt.widgets.Composite)
      */
-    protected Control createButtonBar(Composite parent) {
+    protected override Control createButtonBar(Composite parent) {
         Composite composite = new Composite(parent, DWT.NONE);
         GridLayout layout = new GridLayout();
         layout.marginWidth = 0;
@@ -283,7 +283,7 @@
      * @see dwtx.jface.window.Window#getLayout()
      * @return a newly created layout or <code>null</code> for no layout
      */
-    protected Layout getLayout() {
+    protected override Layout getLayout() {
         GridLayout layout = cast(GridLayout)super.getLayout();
         layout.numColumns = 5;
         layout.horizontalSpacing = 0;