public class OpenRecentPlugIn extends AbstractUiPlugIn
enableCheck, workbenchContextshortcutKeys, shortcutModifiers| Constructor and Description | 
|---|
OpenRecentPlugIn()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addRecentFile(java.io.File file)  | 
void | 
addRecentProject(java.io.File file)  | 
static OpenRecentPlugIn | 
get(WorkbenchContext context)  | 
java.util.List<java.lang.String> | 
getRecentFiles()  | 
java.util.List<java.lang.String> | 
getRecentProjects()  | 
boolean | 
hasRecentItems()  | 
void | 
initialize(PlugInContext context)
Method to be overridden by implementations to initialize the plug-in. 
 | 
void | 
updateFileAndProjectMenu(javax.swing.JMenu recentMenu)  | 
void | 
updateMenu()  | 
actionPerformed, execute, getEnableCheck, getIcon, getName, getToolTip, isRollingBackInvalidEdits, reportNothingToUndoYet, setWorkbenchContextaddParameter, createName, execute, execute, fetchShortcutEnabledPlugins, getBooleanParam, getDoubleParam, getEnableCheck, getIcon, getIcon, getIntegerParam, getParameter, getParameters, getShortcutKeys, getShortcutKeyStroke, getShortcutModifiers, getStringParam, isShortcutEnabled, registerShortcuts, setParameters, setShortcutKeys, setShortcutModifiers, toActionListener, toStringpublic static OpenRecentPlugIn get(WorkbenchContext context) throws java.lang.Exception
java.lang.Exceptionpublic void initialize(PlugInContext context) throws java.lang.Exception
AbstractUiPlugIninitialize in interface PlugIninitialize in class AbstractUiPlugIncontext - The plug-in context.java.lang.Exceptionpublic java.util.List<java.lang.String> getRecentFiles()
public java.util.List<java.lang.String> getRecentProjects()
public void addRecentFile(java.io.File file)
public void addRecentProject(java.io.File file)
public void updateMenu()
public boolean hasRecentItems()
public void updateFileAndProjectMenu(javax.swing.JMenu recentMenu)