Changeset 3138
- Timestamp:
- 03/02/10 18:46:49 (5 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
src/core/org/pathvisio/view/GraphicsShape.java (modified) (1 diff)
-
src/core/org/pathvisio/view/Shape.java (modified) (2 diffs)
-
tools/cytoscape-gpml/src/org/pathvisio/cytoscape/Shape.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/org/pathvisio/view/GraphicsShape.java
r3130 r3138 381 381 java.awt.Shape s = null; 382 382 383 if (gdata.getShapeType() == null )383 if (gdata.getShapeType() == null || gdata.getShapeType() == ShapeType.NONE) 384 384 { 385 385 s = ShapeRegistry.getShape ("Rectangle", x, y, w, h); -
trunk/src/core/org/pathvisio/view/Shape.java
r3092 r3138 25 25 26 26 import org.pathvisio.model.PathwayElement; 27 import org.pathvisio.model.ShapeType; 27 28 28 29 /** … … 86 87 java.awt.Shape s = null; 87 88 88 if (gdata.getShapeType() == null )89 if (gdata.getShapeType() == null || gdata.getShapeType() == ShapeType.NONE) 89 90 { 90 91 s = ShapeRegistry.getShape ("Default", x, y, w, h); -
trunk/tools/cytoscape-gpml/src/org/pathvisio/cytoscape/Shape.java
r2979 r3138 81 81 java.awt.Shape s = null; 82 82 83 if (pwElm.getShapeType() == null )83 if (pwElm.getShapeType() == null || pwElm.getShapeType() == ShapeType.NONE) 84 84 { 85 85 s = ShapeRegistry.getShape ("Default", x, y, w, h);
