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 28907 - [action_27868] branch - Remove using NbTopManager.attachExplorer
Summary: [action_27868] branch - Remove using NbTopManager.attachExplorer
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: languages (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks: 28804
  Show dependency tree
 
Reported: 2002-11-21 09:36 UTC by Peter Zavadsky
Modified: 2008-08-01 15:47 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Zavadsky 2002-11-21 09:36:29 UTC
The method NbTopManager.attachExplorer gets
removed, thus its usage should be given up.
Try to replace it with
NbmainExplorer.RepositoryTab.getDefaultRepositoryTab().getExplorerManager().setSelectedNodes(...);
Comment 1 Peter Zavadsky 2002-11-21 10:49:21 UTC
Fixed in [action_27868] branch.

org/netbeans/modules/scripting/navigation/NavigationSupport.java 1.7.72.1
org/netbeans/modules/scripting/navigation/NodeNavigation.java 1.6.114.1

Note: Seems scripting will need to rewrite the commands and invoke
methods in NodeNavigation according the new action. Didn't have closer
look, but the actions were not workind as expected, (always some
global were shown)