org.apache.jmeter.gui.action
Class LoadRecentProject
- Command
public class LoadRecentProject
Handles the loading of recent files, and also the content and
visibility of menu items for loading the recent files
void | doAction(ActionEvent e)
|
Set | getActionNames()
|
static String | getRecentFile(int index) - Get the full path to the recent file where index 0 is the most recent
|
static List | getRecentFileMenuItems() - Get the menu items to add to the menu bar, to get recent file functionality
|
static void | updateRecentFileMenuItems(List menuItems, String loadedFileName) - Update the content and visibility of the menu items for recent files
|
LoadRecentProject
public LoadRecentProject()
getRecentFile
public static String getRecentFile(int index)
Get the full path to the recent file where index 0 is the most recent
getRecentFileMenuItems
public static List getRecentFileMenuItems()
Get the menu items to add to the menu bar, to get recent file functionality
- a List of JMenuItem and a JSeparator, representing recent files
updateRecentFileMenuItems
public static void updateRecentFileMenuItems(List menuItems,
String loadedFileName)
Update the content and visibility of the menu items for recent files
menuItems
- the JMenuItem and JSeparator to updateloadedFileName
- the file name of the project file that has just
been loaded
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.