Package edu.umd.cs.findbugs.gui2
Class MainFrameMenu
java.lang.Object
edu.umd.cs.findbugs.gui2.MainFrameMenu
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFileToRecent
(File xmlFile) This checks if the xmlFile is in the GUISaveState.void
enableOrDisableItems
(Project curProject, BugCollection bugCollection) void
enablePreferencesMenuItem
(boolean b) enable/disable preferences menuvoid
enableRecentMenu
(boolean enable) void
initOSX()
-
Constructor Details
-
MainFrameMenu
-
-
Method Details
-
addFileToRecent
This checks if the xmlFile is in the GUISaveState. If not adds it. Then adds the file to the recentMenuCache.- Parameters:
xmlFile
-
-
getSaveMenuItem
-
getReconfigMenuItem
-
enableRecentMenu
public void enableRecentMenu(boolean enable) -
getPreferencesMenuItem
-
enablePreferencesMenuItem
public void enablePreferencesMenuItem(boolean b) enable/disable preferences menu -
initOSX
public void initOSX() throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException -
getCloseProjectItem
-
enableOrDisableItems
-