diff dwtx/jface/action/SubMenuManager.d @ 43:ea8ff534f622

Fix override and super aliases
author Frank Benoit <benoit@tionex.de>
date Fri, 11 Apr 2008 01:24:25 +0200
parents 50b0163e18f8
children 46a6e0e6ccd4
line wrap: on
line diff
--- a/dwtx/jface/action/SubMenuManager.d	Thu Apr 10 19:10:12 2008 +0200
+++ b/dwtx/jface/action/SubMenuManager.d	Fri Apr 11 01:24:25 2008 +0200
@@ -110,7 +110,7 @@
     /* (non-Javadoc)
      * @see dwtx.jface.action.SubContributionManager#disposeManager()
      */
-    public void disposeManager() {
+    public override void disposeManager() {
         if (menuListener !is null) {
             getParentMenuManager().removeMenuListener(menuListener);
             menuListener = null;
@@ -187,7 +187,7 @@
      * In the case of menu's not added by this manager,
      * ensure that we return a wrapper for the menu.
      */
-    public IContributionItem find(String id) {
+    public override IContributionItem find(String id) {
         IContributionItem item = getParentMenuManager().find(id);
         if (cast(SubContributionItem)item ) {
             // Return the item passed to us, not the wrapper.
@@ -319,7 +319,7 @@
     /**
      * Remove all contribution items.
      */
-    public void removeAll() {
+    public override void removeAll() {
         super.removeAll();
         if (mapMenuToWrapper !is null) {
             foreach( v; mapMenuToWrapper.elements() ){
@@ -363,7 +363,7 @@
     /* (non-Javadoc)
      * @see dwtx.jface.action.SubContributionManager#setVisible(bool)
      */
-    public void setVisible(bool visible) {
+    public override void setVisible(bool visible) {
         super.setVisible(visible);
         if (mapMenuToWrapper !is null) {
             foreach( v; mapMenuToWrapper.elements() ){