Class Copy
- java.lang.Object
-
- adams.gui.visualization.segmentation.layer.overlaylayeraction.AbstractOverlayLayerAction
-
- adams.gui.visualization.segmentation.layer.overlaylayeraction.Copy
-
public class Copy extends AbstractOverlayLayerAction
Creates a copy of an existing layer.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description Copy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIconName()
Returns the name of the icon to use.String
getName()
The name to display in the menu.void
performAction(OverlayLayer origin)
Performs the action.-
Methods inherited from class adams.gui.visualization.segmentation.layer.overlaylayeraction.AbstractOverlayLayerAction
getIcon
-
-
-
-
Method Detail
-
getName
public String getName()
The name to display in the menu.- Specified by:
getName
in classAbstractOverlayLayerAction
- Returns:
- the name
-
getIconName
public String getIconName()
Returns the name of the icon to use.- Specified by:
getIconName
in classAbstractOverlayLayerAction
- Returns:
- the name, null for empty icon
-
performAction
public void performAction(OverlayLayer origin)
Performs the action.- Specified by:
performAction
in classAbstractOverlayLayerAction
- Parameters:
origin
- the origin of the action
-
-