| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| FigPoly |
|
| 0.0;0 |
| 1 | /* | |
| 2 | * Copyright (c) 2003-2008, by Henrik Arro and Contributors | |
| 3 | * | |
| 4 | * This file is part of JSeq, a tool to automatically create | |
| 5 | * sequence diagrams by tracing program execution. | |
| 6 | * | |
| 7 | * See <http://jseq.sourceforge.net> for more information. | |
| 8 | * | |
| 9 | * JSeq is free software: you can redistribute it and/or modify | |
| 10 | * it under the terms of the GNU Lesser General Public License as | |
| 11 | * published by the Free Software Foundation, either version 3 of | |
| 12 | * the License, or (at your option) any later version. | |
| 13 | * | |
| 14 | * JSeq is distributed in the hope that it will be useful, | |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | * GNU Lesser General Public License for more details. | |
| 18 | * | |
| 19 | * You should have received a copy of the GNU Lesser General Public License | |
| 20 | * along with JSeq. If not, see <http://www.gnu.org/licenses/>. | |
| 21 | */ | |
| 22 | ||
| 23 | package th.co.edge.jseq.argouml.pgml; | |
| 24 | ||
| 25 | import java.awt.Point; | |
| 26 | import java.util.List; | |
| 27 | ||
| 28 | public class FigPoly extends FigPath { | |
| 29 | private static final String FIG_POLY_CLASS = "org.tigris.gef.presentation.FigPoly"; | |
| 30 | ||
| 31 | public FigPoly(String name, int x1, int y1, int x2, int y2) { | |
| 32 | 9 | super(name, FIG_POLY_CLASS, x1, y1, x2, y2, Fill.OFF); |
| 33 | 9 | } |
| 34 | ||
| 35 | public FigPoly(String name, List<Point> points) { | |
| 36 | 0 | super(name, FIG_POLY_CLASS, points, Fill.OFF); |
| 37 | 0 | } |
| 38 | } |