Class Rename
- java.lang.Object
-
- adams.gui.visualization.segmentation.layer.overlaylayeraction.AbstractOverlayLayerAction
-
- adams.gui.visualization.segmentation.layer.overlaylayeraction.Rename
-
public class Rename extends AbstractOverlayLayerAction
Renames an existing layer.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description Rename()
-
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
-
-