comparison 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
comparison
equal deleted inserted replaced
42:4567a6f54939 43:ea8ff534f622
141 } 141 }
142 142
143 /* (non-Javadoc) 143 /* (non-Javadoc)
144 * @see dwtx.jface.dialogs.Dialog#close() 144 * @see dwtx.jface.dialogs.Dialog#close()
145 */ 145 */
146 public bool close() { 146 public override bool close() {
147 /* 147 /*
148 * Close the tray to ensure that those dialogs that remember their 148 * Close the tray to ensure that those dialogs that remember their
149 * size do not store the tray size. 149 * size do not store the tray size.
150 */ 150 */
151 if (getTray() !is null) { 151 if (getTray() !is null) {
155 } 155 }
156 156
157 /* (non-Javadoc) 157 /* (non-Javadoc)
158 * @see dwtx.jface.dialogs.Dialog#createButtonBar(dwt.widgets.Composite) 158 * @see dwtx.jface.dialogs.Dialog#createButtonBar(dwt.widgets.Composite)
159 */ 159 */
160 protected Control createButtonBar(Composite parent) { 160 protected override Control createButtonBar(Composite parent) {
161 Composite composite = new Composite(parent, DWT.NONE); 161 Composite composite = new Composite(parent, DWT.NONE);
162 GridLayout layout = new GridLayout(); 162 GridLayout layout = new GridLayout();
163 layout.marginWidth = 0; 163 layout.marginWidth = 0;
164 layout.marginHeight = 0; 164 layout.marginHeight = 0;
165 layout.horizontalSpacing = 0; 165 layout.horizontalSpacing = 0;
281 * </p> 281 * </p>
282 * 282 *
283 * @see dwtx.jface.window.Window#getLayout() 283 * @see dwtx.jface.window.Window#getLayout()
284 * @return a newly created layout or <code>null</code> for no layout 284 * @return a newly created layout or <code>null</code> for no layout
285 */ 285 */
286 protected Layout getLayout() { 286 protected override Layout getLayout() {
287 GridLayout layout = cast(GridLayout)super.getLayout(); 287 GridLayout layout = cast(GridLayout)super.getLayout();
288 layout.numColumns = 5; 288 layout.numColumns = 5;
289 layout.horizontalSpacing = 0; 289 layout.horizontalSpacing = 0;
290 return layout; 290 return layout;
291 } 291 }