svn commit: r15605 - branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: penyaskito
Date: 2008-08-23 08:08:55-0700
New Revision: 15605

Modified:
   branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java

Log:
Fixes Issue 5322.

Modified: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java?view=diff&rev=15605&p1=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java&p2=branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java&r1=15604&r2=15605
==============================================================================
--- branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java	(original)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/SwingUIFactory.java	2008-08-23 08:08:55-0700
@@ -130,6 +130,7 @@
 import org.argouml.uml.ui.behavior.use_cases.UMLExtensionPointUseCaseListModel;
 import org.argouml.uml.ui.behavior.use_cases.UMLIncludeAdditionListModel;
 import org.argouml.uml.ui.behavior.use_cases.UMLUseCaseExtendListModel;
+import org.argouml.uml.ui.behavior.use_cases.UMLUseCaseExtensionPointListModel;
 import org.argouml.uml.ui.behavior.use_cases.UMLUseCaseIncludeListModel;
 import org.argouml.uml.ui.foundation.core.ActionAddAssociationSpecification;
 import org.argouml.uml.ui.foundation.core.ActionAddClientDependencyAction;
@@ -717,11 +718,11 @@
         }
         else if ("extensionPoint".equals(prop.getName())) {
             if (Model.getFacade().isAUseCase(target)) {
-                model = new UMLUseCaseIncludeListModel();
+                model = new UMLUseCaseExtensionPointListModel();
                 model.setTarget(target);
-                UMLMutableLinkedList l = new UMLMutableLinkedList(
-                        model, null,
-                        ActionNewUseCaseExtensionPoint.SINGLETON);
+                JList l = new UMLMutableLinkedList(
+                            model, null,
+                            ActionNewUseCaseExtensionPoint.SINGLETON);
                 list = new ScrollList(l);
             }
             else {
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.