Author: mvw
Date: 2007-06-13 11:56:14-0700
New Revision: 12827
Modified:
trunk/src_new/org/argouml/uml/diagram/ui/ActionSetMode.java
Log:
Clarified the meaning of the "name". Improvements needed.
Modified: trunk/src_new/org/argouml/uml/diagram/ui/ActionSetMode.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/diagram/ui/ActionSetMode.java?view=diff&rev=12827&p1=trunk/src_new/org/argouml/uml/diagram/ui/ActionSetMode.java&p2=trunk/src_new/org/argouml/uml/diagram/ui/ActionSetMode.java&r1=12826&r2=12827
==============================================================================
--- trunk/src_new/org/argouml/uml/diagram/ui/ActionSetMode.java (original)
+++ trunk/src_new/org/argouml/uml/diagram/ui/ActionSetMode.java 2007-06-13 11:56:14-0700
@@ -66,7 +66,7 @@
* The constructor.
*
* @param modeClass the next global editor mode
- * @param name the name of the command that is the tooltip text.
+ * @param name the name of the icon
*/
public ActionSetMode(Class modeClass, String name) {
super(modeClass);
@@ -78,7 +78,7 @@
* The constructor.
*
* @param modeClass the next global editor mode
- * @param name the to be localized name of the command
+ * @param name the icon name
* @param tooltipkey The key for the tooltip text.
*/
public ActionSetMode(Class modeClass, String name, String tooltipkey) {
@@ -110,6 +110,8 @@
/**
* The constructor.
+ * TODO: The "name" parameter is used for the icon and for the tooltip.
+ * This makes i18n of the tooltip impossible.
*
* @param modeClass the next global editor mode
* @param modeArgs arguments for the new mode
@@ -135,6 +137,8 @@
/**
* The constructor.
+ * TODO: The "name" parameter is used for the icon and for the tooltip.
+ * This makes i18n of the tooltip impossible.
*
* @param modeClass the next global editor mode
* @param arg the name of a new argument for the new mode
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.