Mercurial > projects > dwt-addons
comparison dwtx/jface/dialogs/IconAndMessageDialog.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 |
comparison
equal
deleted
inserted
replaced
42:4567a6f54939 | 43:ea8ff534f622 |
---|---|
160 } | 160 } |
161 | 161 |
162 /* | 162 /* |
163 * @see Dialog.createButtonBar() | 163 * @see Dialog.createButtonBar() |
164 */ | 164 */ |
165 protected Control createButtonBar(Composite parent) { | 165 protected override Control createButtonBar(Composite parent) { |
166 Composite composite = new Composite(parent, DWT.NONE); | 166 Composite composite = new Composite(parent, DWT.NONE); |
167 GridLayoutFactory.fillDefaults().numColumns(0) // this is incremented | 167 GridLayoutFactory.fillDefaults().numColumns(0) // this is incremented |
168 // by createButton | 168 // by createButton |
169 .equalWidth(true).applyTo(composite); | 169 .equalWidth(true).applyTo(composite); |
170 | 170 |
188 protected abstract Image getImage(); | 188 protected abstract Image getImage(); |
189 | 189 |
190 /* | 190 /* |
191 * @see Dialog.createContents(Composite) | 191 * @see Dialog.createContents(Composite) |
192 */ | 192 */ |
193 protected Control createContents(Composite parent) { | 193 protected override Control createContents(Composite parent) { |
194 // initialize the dialog units | 194 // initialize the dialog units |
195 initializeDialogUnits(parent); | 195 initializeDialogUnits(parent); |
196 Point defaultMargins = LayoutConstants.getMargins(); | 196 Point defaultMargins = LayoutConstants.getMargins(); |
197 Point defaultSpacing = LayoutConstants.getSpacing(); | 197 Point defaultSpacing = LayoutConstants.getSpacing(); |
198 GridLayoutFactory.fillDefaults().margins(defaultMargins.x, | 198 GridLayoutFactory.fillDefaults().margins(defaultMargins.x, |