svn commit: r14451 - trunk/src/argouml-app/src/org/argouml/uml/ui: behavior/use_cases foundation/core

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-04-23 20:12:32-0700
New Revision: 14451

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelExtend.java
   trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelInclude.java
   trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelGeneralization.java

Log:
Have all property panels for subtypes of Relationship extend PropPanelRelationship so they are easily identified

Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelExtend.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelExtend.java?view=diff&rev=14451&p1=trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelExtend.java&p2=trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelExtend.java&r1=14450&r2=14451
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelExtend.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelExtend.java	2008-04-23 20:12:32-0700
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 1996-2007 The Regents of the University of California. All
+// Copyright (c) 1996-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
@@ -41,22 +41,18 @@
 import org.argouml.uml.ui.UMLExpressionModel2;
 import org.argouml.uml.ui.UMLLinkedList;
 import org.argouml.uml.ui.UMLMutableLinkedList;
-import org.argouml.uml.ui.foundation.core.PropPanelModelElement;
+import org.argouml.uml.ui.foundation.core.PropPanelRelationship;
 import org.argouml.uml.ui.foundation.extension_mechanisms.ActionNewStereotype;
 
 /**
  * Builds the property panel for an Extend relationship.<p>
  *
- * This is a type of Relationship, but, since Relationship has no semantic
- * meaning of its own, we derive directly from PropPanelModelElement (as
- * other children of Relationship do).<p>
- *
  * TODO: this property panel needs refactoring to remove dependency on
  *       old GUI components.
  *
  * @author [email protected]
  */
-public class PropPanelExtend extends PropPanelModelElement {
+public class PropPanelExtend extends PropPanelRelationship {
 
     /**
      * The serial version.

Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelInclude.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelInclude.java?view=diff&rev=14451&p1=trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelInclude.java&p2=trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelInclude.java&r1=14450&r2=14451
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelInclude.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/ui/behavior/use_cases/PropPanelInclude.java	2008-04-23 20:12:32-0700
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 1996-2007 The Regents of the University of California. All
+// Copyright (c) 1996-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
@@ -29,19 +29,15 @@
 import org.argouml.model.Model;
 import org.argouml.uml.ui.ActionNavigateNamespace;
 import org.argouml.uml.ui.UMLLinkedList;
-import org.argouml.uml.ui.foundation.core.PropPanelModelElement;
+import org.argouml.uml.ui.foundation.core.PropPanelRelationship;
 import org.argouml.uml.ui.foundation.extension_mechanisms.ActionNewStereotype;
 
 /**
  * Builds the property panel for an Include relationship.<p>
  *
- * This is a type of Relationship, but, since Relationship has no
- * semantic meaning of its own, we derive directly from
- * PropPanelModelElement (as other children of Relationship do).<p>
- *
  * @author Jeremy Bennett
  */
-public class PropPanelInclude extends PropPanelModelElement {
+public class PropPanelInclude extends PropPanelRelationship {
 
     /**
      * The serial version.

Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelGeneralization.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelGeneralization.java?view=diff&rev=14451&p1=trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelGeneralization.java&p2=trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelGeneralization.java&r1=14450&r2=14451
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelGeneralization.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelGeneralization.java	2008-04-23 20:12:32-0700
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 1996-2007 The Regents of the University of California. All
+// Copyright (c) 1996-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
@@ -37,7 +37,7 @@
 /**
  * The properties panel for a Generalization.
  */
-public class PropPanelGeneralization extends PropPanelModelElement {
+public class PropPanelGeneralization extends PropPanelRelationship {
 
     /**
      * The serial version.
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.