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.
Summary: | API for declaring item in Navigator to collapsed/expanded as default | ||
---|---|---|---|
Product: | editor | Reporter: | rmatous <rmatous> |
Component: | CSL (API & infrastructure) | Assignee: | issues@editor <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | dstrupl, phejl, pjiricka |
Priority: | P3 | Keywords: | API |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
rmatous
2009-08-12 15:14:20 UTC
Could you please implement it for 6.8 Ideally, Radku, create a patch, have it reviewed by other language module maintainers from your team and if you guys are happy with it Marek or I will commit it. Thanks I won't implement it because its not my domain area and I won't find enough time for systematic approach Our use case is: let user control what will be presented in structure view: could be also covered also by #170244 (flags represented by buttons with icons) - then this issue could be closed as WONTFIX from my point of view. BTW StructureScanner.Configuration has method getExpandDepth(setExpandDepth) which is not taken into account (just values 0,-1) API might look like: add pair of get(is)/set methods in StructureScanner.Configuration, something like isExpandable(ElementKind kind), setExapndable(ElementKind kind, boolean value) and in impl. compare it with StructureItem.getKind() I meant #150084 (not #170244), sorry Integrated into 'main-golden', will be available in build *200908141401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e16217b11424 User: Radek Matous <rmatous@netbeans.org> Log: show variables for methods/functions - but not eneabled until #170281 will be implemented There is a new StructureItem.CollapsedDefault interface which should you StructureItem implement. The interface has the isCollapsedByDefault method. Return "true" to have the structure item collapsed by default in the Navigator. Committed in jet-main repository: changeset: 176179:0c58e95bbb81 user: David Kaspar <dkaspar@netbeans.org> date: Thu Aug 26 14:57:36 2010 +0200 summary: 170281: API for declaring item in Navigator to collapsed/expanded as default; csl.api module spec. version increased to 2.7.0 |