Mercurial > projects > dwt-addons
diff dwtx/jface/action/ToolBarContributionItem.d @ 43:ea8ff534f622
Fix override and super aliases
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 11 Apr 2008 01:24:25 +0200 |
parents | ca63e2bea4bf |
children | 7ffeace6c47f |
line wrap: on
line diff
--- a/dwtx/jface/action/ToolBarContributionItem.d Thu Apr 10 19:10:12 2008 +0200 +++ b/dwtx/jface/action/ToolBarContributionItem.d Fri Apr 11 01:24:25 2008 +0200 @@ -61,6 +61,8 @@ * @since 3.0 */ public class ToolBarContributionItem : ContributionItem, IToolBarContributionItem { + alias ContributionItem.fill fill; + alias ContributionItem.update update; public IContributionManager getParent() { return super.getParent(); @@ -174,7 +176,7 @@ * * @see dwtx.jface.action.IContributionItem#dispose() */ - public void dispose() { + public override void dispose() { // Dispose of the ToolBar and all its contributions if (toolBarManager !is null) { toolBarManager.dispose(); @@ -200,7 +202,7 @@ * @see dwtx.jface.action.IContributionItem#fill(dwt.widgets.CoolBar, * int) */ - public void fill(CoolBar coolBar, int index) { + public override void fill(CoolBar coolBar, int index) { if (checkDisposed()) { return; } @@ -461,7 +463,7 @@ * other than group marks and separators, and the internal state is * set to be visible. */ - public bool isVisible() { + public override bool isVisible() { if (checkDisposed()) { return false; } @@ -487,7 +489,7 @@ * * @see dwtx.jface.action.IContributionItem#saveWidgetState() */ - public void saveWidgetState() { + public override void saveWidgetState() { if (checkDisposed()) { return; } @@ -598,7 +600,7 @@ * * @see dwtx.jface.action.IContributionItem#update(java.lang.String) */ - public void update(String propertyName) { + public override void update(String propertyName) { if (checkDisposed()) { return; }