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.
Tracking issue - need not to forget to implement the dialogs described on page 6 of the css_styles_v2.pdf spec.
Marek says he can implement a minimalist version of this UI sometime this week.
some progress: changeset: 230919:e0900d23d438 summary: fiddling with RE and PropertySheet popups, added a new RE popup with all actions (though I'm unable to associate the popup to the PropertySheet, added "menu icon" similar to what is in the spec, implemented "Remove rule" action, added placeholder for "Add rule" action.
changeset: 230949:507dc55289dc summary: #217173 - *RuleEditor's* create new rule functionality. It just allows to create new css rule in the stylesheet associated to the current model/rule.
web-main#ab3700a8c246 a) added "delete" action to the html navigator nodes - when invoked, it removes the whole element's subtree from the source code b) added "modify rules" action to the html navigator nodes - allows to change class and id attributes of the selected element - very raw implementation: - allows only to use already linked stylesheets - allows only to use existing classe and id rules c) added context actions to the Rule Editor (popup and a menu icon in the top right corner): - add property (does the same as the button at the bottom) - delete rule (removes the selected css rule) - create rule - opens a dialog similar to #b, you may create new class or id rule *in the associated css file* and specify where to put it (if into a body or into an at-rule).
btw, I've just added: changeset: 231012:24e96260c861 summary: the "Modify Rules" UI now creates new class or id selectors if they do not exist in the selected stylesheet so you may just type a class and id, select a stylesheet and it will both modify the html element source and the selected stylesheet.
Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/507dc55289dc User: Marek Fukala <mfukala@netbeans.org> Log: #217173 - *RuleEditor's* create new rule functionality. It just allows to create new css rule in the stylesheet associated to the current model/rule.