svn commit: r13806 - trunk/src_new/org/argouml/uml/ui/AbstractActionRemoveElement.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-11-21 22:33:31-0800
New Revision: 13806

Modified:
   trunk/src_new/org/argouml/uml/ui/AbstractActionRemoveElement.java

Log:
Localize

Modified: trunk/src_new/org/argouml/uml/ui/AbstractActionRemoveElement.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/ui/AbstractActionRemoveElement.java?view=diff&rev=13806&p1=trunk/src_new/org/argouml/uml/ui/AbstractActionRemoveElement.java&p2=trunk/src_new/org/argouml/uml/ui/AbstractActionRemoveElement.java&r1=13805&r2=13806
==============================================================================
--- trunk/src_new/org/argouml/uml/ui/AbstractActionRemoveElement.java	(original)
+++ trunk/src_new/org/argouml/uml/ui/AbstractActionRemoveElement.java	2007-11-21 22:33:31-0800
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 1996-2006 The Regents of the University of California. All
+// Copyright (c) 1996-2007 The Regents of the University of California. All
 // Rights Reserved. Permission to use, copy, modify, and distribute this
 // software and its documentation without fee, and without a written
 // agreement is hereby granted, provided that the above copyright notice
@@ -52,7 +52,7 @@
      * Constructor for AbstractActionRemoveElement.
      */
     protected AbstractActionRemoveElement() {
-        this(Translator.localize("Delete From Model"));
+        this(Translator.localize("menu.popup.remove"));
     }
 
     /**
@@ -108,6 +108,7 @@
     /*
      * @see javax.swing.Action#isEnabled()
      */
+    @Override
     public boolean isEnabled() {
         return getObjectToRemove() != null && getTarget() != null;
     }
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.