public class ViewTreasurelistsAction extends java.lang.Object implements EditorAction
EditorAction
tha shows the treasurelists dialog.Constructor and Description |
---|
ViewTreasurelistsAction(@NotNull CFTreasureListTree treasureListTree,
@NotNull java.awt.Frame parent)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
setAction(@NotNull javax.swing.Action action,
@NotNull java.lang.String name)
Sets the
Action instance for this editor action. |
void |
viewTreasurelists()
Shows the treasurelists dialog.
|
public ViewTreasurelistsAction(@NotNull @NotNull CFTreasureListTree treasureListTree, @NotNull @NotNull java.awt.Frame parent)
treasureListTree
- the treasurelists instanceparent
- the parent component for the treasurelists dialog@ActionMethod public void viewTreasurelists()
public void setAction(@NotNull @NotNull javax.swing.Action action, @NotNull @NotNull java.lang.String name)
EditorAction
Action
instance for this editor action.setAction
in interface EditorAction
action
- the action instancename
- the name of the action