Class OpenRecentPlugIn

    • Constructor Detail

      • OpenRecentPlugIn

        public OpenRecentPlugIn()
    • Method Detail

      • initialize

        public void initialize​(PlugInContext context)
                        throws Exception
        Description copied from class: AbstractUiPlugIn
        Method to be overridden by implementations to initialize the plug-in. Plug-ins must invoke super.initialize().
        Specified by:
        initialize in interface PlugIn
        Overrides:
        initialize in class AbstractUiPlugIn
        Parameters:
        context - The plug-in context.
        Throws:
        Exception - if an exception occur during initialization
      • getRecentFiles

        public List<String> getRecentFiles()
      • getRecentProjects

        public List<String> getRecentProjects()
      • addRecentFile

        public void addRecentFile​(File file)
      • addRecentProject

        public void addRecentProject​(File file)
      • updateMenu

        public void updateMenu()
      • hasRecentItems

        public boolean hasRecentItems()
      • updateFileAndProjectMenu

        public void updateFileAndProjectMenu​(JMenu recentMenu)