svn commit: r15168 - trunk/src/argouml-app/src/org/argouml/uml/ui/PropPanelFactoryManager.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: bobtarling
Date: 2008-07-05 15:03:18-0700
New Revision: 15168

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/ui/PropPanelFactoryManager.java

Log:
Issue 5205: Store PropPanelFactories in opposite order as received

Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/PropPanelFactoryManager.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/PropPanelFactoryManager.java?view=diff&rev=15168&p1=trunk/src/argouml-app/src/org/argouml/uml/ui/PropPanelFactoryManager.java&p2=trunk/src/argouml-app/src/org/argouml/uml/ui/PropPanelFactoryManager.java&r1=15167&r2=15168
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/ui/PropPanelFactoryManager.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/ui/PropPanelFactoryManager.java	2008-07-05 15:03:18-0700
@@ -26,6 +26,7 @@
 
 import java.util.ArrayList;
 import java.util.Collection;
+import java.util.List;
 
 /**
  * Manager of factories registered in ArgoUML. <p>
@@ -37,14 +38,14 @@
  * @author Michiel
  */
 public class PropPanelFactoryManager {
-    private static Collection<PropPanelFactory> ppfactories = 
+    private static List<PropPanelFactory> ppfactories = 
         new ArrayList<PropPanelFactory>();
     
     /**
      * @param factory add the given factory
      */
     public static void addPropPanelFactory(PropPanelFactory factory) {
-        ppfactories.add(factory);
+        ppfactories.add(0, factory);
     }
     
     /**
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.