Mercurial > projects > dwt-addons
diff dwtx/jface/dialogs/TitleAreaDialog.d @ 43:ea8ff534f622
Fix override and super aliases
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 11 Apr 2008 01:24:25 +0200 |
parents | 8ec40848221b |
children | c3583c6ec027 |
line wrap: on
line diff
--- a/dwtx/jface/dialogs/TitleAreaDialog.d Thu Apr 10 19:10:12 2008 +0200 +++ b/dwtx/jface/dialogs/TitleAreaDialog.d Fri Apr 11 01:24:25 2008 +0200 @@ -131,7 +131,7 @@ /* * @see Dialog.createContents(Composite) */ - protected Control createContents(Composite parent) { + protected override Control createContents(Composite parent) { // create the overall composite Composite contents = new Composite(parent, DWT.NONE); contents.setLayoutData(new GridData(GridData.FILL_BOTH)); @@ -170,7 +170,7 @@ * The parent composite to contain the dialog area * @return the dialog area control */ - protected Control createDialogArea(Composite parent) { + protected override Control createDialogArea(Composite parent) { // create the top level composite for the dialog area Composite composite = new Composite(parent, DWT.NONE); GridLayout layout = new GridLayout(); @@ -329,7 +329,7 @@ * * @return the initial size of the dialog */ - protected Point getInitialSize() { + protected override Point getInitialSize() { Point shellSize = super.getInitialSize(); return new Point(Math.max( convertHorizontalDLUsToPixels(MIN_DIALOG_WIDTH), shellSize.x),