svn commit: r17110 - trunk/src/argouml-app/src/org/argouml/ui

Tom Morris <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2009-04-13 11:53:47-0700
New Revision: 17110

Modified:
   trunk/src/argouml-app/src/org/argouml/ui/ProjectSettingsTabProfile.java
   trunk/src/argouml-app/src/org/argouml/ui/SettingsTabProfile.java

Log:
RESOLVED - task 5409: Profile names not visible for deeply nested directory trees 
http://argouml.tigris.org/issues/show_bug.cgi?id=5409

Modified: trunk/src/argouml-app/src/org/argouml/ui/ProjectSettingsTabProfile.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ui/ProjectSettingsTabProfile.java?view=diff&pathrev=17110&r1=17109&r2=17110
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/ui/ProjectSettingsTabProfile.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/ui/ProjectSettingsTabProfile.java	2009-04-13 11:53:47-0700
@@ -228,7 +228,6 @@
     
     private JList createProfileList() {
         JList list = new JList();
-        list.setPrototypeCellValue("12345678901234567890");
         list.setMinimumSize(new Dimension(50, 50));
         return list;
     }

Modified: trunk/src/argouml-app/src/org/argouml/ui/SettingsTabProfile.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ui/SettingsTabProfile.java?view=diff&pathrev=17110&r1=17109&r2=17110
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/ui/SettingsTabProfile.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/ui/SettingsTabProfile.java	2009-04-13 11:53:47-0700
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 2007-2008 The Regents of the University of California. All
+// Copyright (c) 2007-2009 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
@@ -226,7 +226,6 @@
     
     private JList createProfileList() {
         JList list = new JList();
-        list.setPrototypeCellValue("12345678901234567890");
         list.setMinimumSize(new Dimension(50, 50));
         return list;
     }
@@ -483,7 +482,8 @@
             usedItens.add((Profile) modelUsd.getElementAt(i));
         }
 
-        for (Profile profile : ProfileFacade.getManager().getDefaultProfiles()) {
+        for (Profile profile 
+                : ProfileFacade.getManager().getDefaultProfiles()) {
             if (!usedItens.contains(profile)) {
                 toRemove.add(profile);
             }

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=1696191

To unsubscribe from this discussion, e-mail: [[email protected]].
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.