Mercurial > projects > dwt-addons
diff dwtx/jface/action/ExternalActionManager.d @ 39:644f1334b451
fix anon classes
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 08 Apr 2008 22:05:42 +0200 |
parents | e10d9c2648be |
children | da5ad8eedf5d |
line wrap: on
line diff
--- a/dwtx/jface/action/ExternalActionManager.d Sun Apr 06 14:15:58 2008 +0200 +++ b/dwtx/jface/action/ExternalActionManager.d Tue Apr 08 22:05:42 2008 +0200 @@ -122,7 +122,8 @@ private const Map!(String,IPropertyChangeListener) registeredListeners; static this(){ - RESOURCE_BUNDLE = ResourceBundle.getBundle(ExternalActionManager.classinfo.name); + RESOURCE_BUNDLE = ResourceBundle.getBundle( + import("dwtx.jface.action.ExternalActionManager.properties")); } /** * Constructs a new instance of <code>CommandCallback</code> with the @@ -307,12 +308,12 @@ // And remember this item so we don't log it again. loggedCommandIds.add(commandId); - command.addCommandListener(new class ICommandListener { + command.addCommandListener(new class(command,commandId) ICommandListener { Command command_; String commandId_; - this(){ - command_=command; - commandId_=commandId; + this(Command a,String b){ + command_=a; + commandId_=b; } /* * (non-Javadoc)