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