This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 73616

Summary: Project developers need these UI APIs
Product: projects Reporter: _ potingwu <potingwu>
Component: Generic Projects UIAssignee: Jesse Glick <jglick>
Status: RESOLVED WONTFIX    
Severity: blocker CC: markdey
Priority: P2 Keywords: API
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 93470    

Description _ potingwu 2006-03-15 19:20:11 UTC
Project developers like Creator need the following UI APIs for
improving/customizing their product.

1. When adding a new item, IDE should highlight the new added item in the
Projects window. API needed:
org.netbeans.modules.project.ui.ProjectTab.findDefault(ProjectTab.ID_LOGICAL).selectNodeAsync(newFileObject)

2. To get the default project location. API needed:
org.netbeans.modules.project.ui.OpenProjectListSettings.getInstance().getProjectsFolder()

3. To Set/Check/Update the Recent Opened Project list. API needed:
org.netbeans.modules.project.ui.OpenProjectList.{addPropertyChangeListener,isRecentProjectsEmpty,getRecentProjects,open,setMainProject,PROPERTY_RECENT_PROJECTS}

4. After opened a recent project, IDE should select the just opened project
node, open the Logical view and make it active. API needed:
org.netbeans.modules.project.ui.ProjectTab.findDefault(ProjectTab.ID_LOGICAL).{getExplorerManager,open,requestActive}
Comment 1 Milan Kubec 2006-03-16 08:25:56 UTC
Re. 3) There is already RFE for that, see issue #57073. Please provide usecases
for that.

Re. setMainProject - you could use
org.netbeans.api.project.ui.OpenProjects.setMainProject();
Comment 2 Jesse Glick 2010-05-04 22:59:50 UTC
No known outstanding use case.