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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)