public class TipOfTheDayAction extends java.lang.Object implements EditorAction
EditorAction
that shows the "tip of the day" dialog.Constructor and Description |
---|
TipOfTheDayAction(@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 |
tipOfTheDay()
Shows the "tip of the day" dialog.
|
public TipOfTheDayAction(@NotNull @NotNull java.awt.Frame parent)
parent
- the parent frame for the dialog@ActionMethod public void tipOfTheDay()
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