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: | Add id and class to HTML hierarchy breadcrumb | ||
---|---|---|---|
Product: | web | Reporter: | Vagabond <vagabond> |
Component: | HTML Editor | Assignee: | Milutin Kristofic <mkristofic> |
Status: | NEW --- | ||
Severity: | normal | CC: | pekarna, sdedic |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 235150 |
Description
Vagabond
2012-11-02 15:21:29 UTC
*** Bug 225671 has been marked as a duplicate of this bug. *** The current implementation is not in html.editor itself. The breadcrumbs is provided by csl.api which just takes the tree structure of StructureItems for the edited html document and shows nodes for the path corresponding to the root->leaf node. The display name of the node is taken from StructureItem.getName() at BreadCrumbsTask:189 so I have no way to change it. A way to customize the displayName is needed here. Possibly some node decorator could be even more suitable. I think a minimum csl.api change would be to introduce sg. like ExtendedStructureItem which contains a method used to set the node's displayname. The html.editor then can implement this. AFAIK Svata has been considering some deeper changes to csl.api so lets wait for his opinion. |