public class OpenRecentFileAction extends AbstractApplicationAction
This action is called when the user selects an item in the Recent Files
submenu of the File menu. The action and the menu item is automatically
created by the application, when the ApplicationModel
provides a
OpenFileAction
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
Constructor and Description |
---|
OpenRecentFileAction(Application app,
java.net.URI uri)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt) |
protected void |
openView(View view) |
dispose, getApplication, installApplicationListeners, isEnabled, setEnabled, uninstallApplicationListeners, updateApplicationEnabled
public static final java.lang.String ID
public OpenRecentFileAction(Application app, java.net.URI uri)
public void actionPerformed(java.awt.event.ActionEvent evt)
protected void openView(View view)