org.netbeans.modules.projectui 1.35.0

org.netbeans.modules.project.ui.api
Class RecentProjects

java.lang.Object
  extended by org.netbeans.modules.project.ui.api.RecentProjects

public final class RecentProjects
extends Object

Provides simple information about recent projects and fires PropertyChangeEvent in case of change in the list of recent projects

Since:
1.9.0

Field Summary
static String PROP_RECENT_PROJECT_INFO
          Property representing recent project information
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Adds a listener, use WeakListener or properly remove listeners
static RecentProjects getDefault()
           
 List<UnloadedProjectInformation> getRecentProjectInformation()
          Gets simple info UnloadedProjectInformation about recent projects in IDE.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Removes a listener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_RECENT_PROJECT_INFO

public static final String PROP_RECENT_PROJECT_INFO
Property representing recent project information

See Also:
Constant Field Values
Method Detail

getDefault

public static RecentProjects getDefault()

getRecentProjectInformation

public List<UnloadedProjectInformation> getRecentProjectInformation()
Gets simple info UnloadedProjectInformation about recent projects in IDE. Project in the list might not exist or might not be valid e.g. in case when project was deleted or changed. It's responsibility of the user of the API to make sure the project exists and is valid.

Returns:
list of project information about recently opened projects

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Adds a listener, use WeakListener or properly remove listeners

Parameters:
listener - listener to be added

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Removes a listener

Parameters:
listener - listener to be removed

org.netbeans.modules.projectui 1.35.0

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.