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 - Project developers need these UI APIs
Summary: Project developers need these UI APIs
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: API
Depends on:
Blocks: 93470
  Show dependency tree
 
Reported: 2006-03-15 19:20 UTC by _ potingwu
Modified: 2010-05-04 22:59 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.