Author: mvw
Date: 2008-09-06 07:23:29-0700
New Revision: 15677
Modified:
trunk/src/argouml-app/src/org/argouml/i18n/misc.properties
trunk/src/argouml-app/src/org/argouml/ui/explorer/rules/GoProfileToCritics.java (contents, props changed)
Log:
The patch that fixes issue 5362: "Explorer rule without proper name".
Setting the properties on the java file, too.
Modified: trunk/src/argouml-app/src/org/argouml/i18n/misc.properties
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/i18n/misc.properties?view=diff&rev=15677&p1=trunk/src/argouml-app/src/org/argouml/i18n/misc.properties&p2=trunk/src/argouml-app/src/org/argouml/i18n/misc.properties&r1=15676&r2=15677
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/i18n/misc.properties (original)
+++ trunk/src/argouml-app/src/org/argouml/i18n/misc.properties 2008-09-06 07:23:29-0700
@@ -1,5 +1,5 @@
# $Id$
-# Copyright (c) 2003-2007 The Regents of the University of California. All
+# Copyright (c) 2003-2008 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
@@ -147,6 +147,7 @@
misc.primitive.rounded-rectangle = Rounded Rectangle
misc.primitive.spline = Spline
misc.primitive.text = Text
+misc.profile.critic = Profile->Critic
misc.profile.unnamed = Unnamed Profile
misc.profile.model = Profile->Model
misc.profileconfiguration.profile = Profile Configuration->Profile
Modified: trunk/src/argouml-app/src/org/argouml/ui/explorer/rules/GoProfileToCritics.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ui/explorer/rules/GoProfileToCritics.java?view=diff&rev=15677&p1=trunk/src/argouml-app/src/org/argouml/ui/explorer/rules/GoProfileToCritics.java&p2=trunk/src/argouml-app/src/org/argouml/ui/explorer/rules/GoProfileToCritics.java&r1=15676&r2=15677
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/ui/explorer/rules/GoProfileToCritics.java (original)
+++ trunk/src/argouml-app/src/org/argouml/ui/explorer/rules/GoProfileToCritics.java 2008-09-06 07:23:29-0700
@@ -1,4 +1,4 @@
-// $Id: eclipse-argo-codetemplates.xml 11347 2006-10-26 22:37:44Z linus $
+// $Id$
// Copyright (c) 2008 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
@@ -36,7 +36,7 @@
*
* @author maurelio1234
*/
-public class GoProfileToCritics implements PerspectiveRule {
+public class GoProfileToCritics extends AbstractPerspectiveRule{
/*
* @see org.argouml.ui.explorer.rules.PerspectiveRule#getRuleName()
@@ -52,7 +52,7 @@
if (parent instanceof Profile) {
return ((Profile) parent).getCritics();
}
- return Collections.EMPTY_SET;
+ return Collections.emptySet();
}
/*
@@ -60,6 +60,6 @@
*/
public Set getDependencies(Object parent) {
// TODO: What?
- return Collections.EMPTY_SET;
+ return Collections.emptySet();
}
}
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.