Author: mvw Date: 2011-08-29 06:56:27-0700 New Revision: 19690 Modified: trunk/src/argouml-app/src/org/argouml/ui/CmdCreateNode.java
Log: Fix for issue 6182: "Click to place button.new-class" in status bar. Modified: trunk/src/argouml-app/src/org/argouml/ui/CmdCreateNode.java Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ui/CmdCreateNode.java?view=diff&pathrev=19690&r1=19689&r2=19690 ============================================================================== --- trunk/src/argouml-app/src/org/argouml/ui/CmdCreateNode.java (original) +++ trunk/src/argouml-app/src/org/argouml/ui/CmdCreateNode.java 2011-08-29 06:56:27-0700 @@ -1,6 +1,6 @@ /* $Id$ ***************************************************************************** - * Copyright (c) 2009 Contributors - see below + * Copyright (c) 2009-2011 Contributors - see below * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -8,6 +8,7 @@ * * Contributors: * tfmorris + * Michiel van der Wulp ***************************************************************************** * * Some portions of this file was previously release using the BSD License: @@ -63,7 +64,7 @@ */ public CmdCreateNode(Object nodeType, String name) { super(nodeType, - name, + Translator.localize(name), ResourceLoaderWrapper.lookupIconResource( ResourceLoaderWrapper.getImageBinding(name))); putToolTip(name); ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2832081 To unsubscribe from this discussion, e-mail: [[email protected]].
