Package org.opentcs.guing.util
Class FigureCloner
java.lang.Object
org.opentcs.guing.util.FigureCloner
public class FigureCloner
extends java.lang.Object
A helper class for cloning figures.
-
Constructor Summary
Constructors Constructor Description FigureCloner(org.opentcs.guing.persistence.ModelManager modelManager, org.opentcs.guing.components.drawing.OpenTCSDrawingEditor drawingEditor)Creates a new instance. -
Method Summary
Modifier and Type Method Description java.util.List<org.jhotdraw.draw.Figure>cloneFigures(java.util.List<org.jhotdraw.draw.Figure> figuresToClone)
-
Constructor Details
-
FigureCloner
@Inject public FigureCloner(org.opentcs.guing.persistence.ModelManager modelManager, org.opentcs.guing.components.drawing.OpenTCSDrawingEditor drawingEditor)Creates a new instance.- Parameters:
modelManager- The application's model manager.drawingEditor- The application's drawing editor.
-
-
Method Details
-
cloneFigures
public java.util.List<org.jhotdraw.draw.Figure> cloneFigures(java.util.List<org.jhotdraw.draw.Figure> figuresToClone)
-