Author: thn Date: 2012-01-04 14:24:13-0800 New Revision: 19862 Modified: trunk/src/argouml-core-diagrams-deployment2/src/org/argouml/deployment2/diagram/UMLDeploymentDiagram.java
Log: UML2: make projects with component diagrams loadable Modified: trunk/src/argouml-core-diagrams-deployment2/src/org/argouml/deployment2/diagram/UMLDeploymentDiagram.java Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-diagrams-deployment2/src/org/argouml/deployment2/diagram/UMLDeploymentDiagram.java?view=diff&pathrev=19862&r1=19861&r2=19862 ============================================================================== --- trunk/src/argouml-core-diagrams-deployment2/src/org/argouml/deployment2/diagram/UMLDeploymentDiagram.java (original) +++ trunk/src/argouml-core-diagrams-deployment2/src/org/argouml/deployment2/diagram/UMLDeploymentDiagram.java 2012-01-04 14:24:13-0800 @@ -51,6 +51,7 @@ /** * Diagram for UML2 Deployment Diagram * @author Bob Tarling + * @author Thomas Neustupny */ public class UMLDeploymentDiagram extends UMLDiagram implements DeploymentDiagram { @@ -65,6 +66,16 @@ Model.getMetaTypes().getObject(), Model.getMetaTypes().getPort() }); + + /** + * Construct a Deployment Diagram. Default constructor used by PGML parser during + * diagram load. It should not be used by other callers. + * @deprecated only for use by PGML parser + */ + @Deprecated + public UMLDeploymentDiagram() { + super(new DeploymentDiagramGraphModel()); + } /** * Construct a new Deployment Diagram. ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2906016 To unsubscribe from this discussion, e-mail: [[email protected]].
