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 59536 - Form editor tab coloring does not work
Summary: Form editor tab coloring does not work
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pkuzel
URL:
Keywords: UI
Depends on:
Blocks: 57900
  Show dependency tree
 
Reported: 2005-06-02 10:24 UTC by _ pkuzel
Modified: 2005-09-05 09:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2005-06-02 10:24:48 UTC
Install CVS support from Dev AUC. Open a versioned project. Change a source and
a form. Source editor tab becomes green while form's tab stays black.

Expected bahaviour: form's tab becomes green too. See issue #57900.
Comment 1 Jan Stola 2005-06-02 10:44:17 UTC
It seems to me more a request to integrate some support for CVS than a defect.
So, please, suggest a patch that should be made (it is not clear from
the description of the issue).
Comment 2 _ pkuzel 2005-06-02 10:59:49 UTC
See issue #57900. Copy&paste from DataEditorSupport.
Comment 3 Jan Stola 2005-06-02 11:22:28 UTC
Please, provide justification when you change attributes of the issue
(reverting back to ENHANCEMENT).

> Copy&paste from DataEditorSupport.

Could you, please, provide more details? What should I copy and where?
Not sure why should I copy anything from DataEditorSupport because
FormEditorSupport extends it.
Comment 4 _ pkuzel 2005-06-02 12:12:28 UTC
It's in CVS support UI specification
<http://ui.netbeans.org/nonav/docs/hi/promoF/vcs-spec.html>

I do not have clue about form internals. Anyway you need to listen on Filesystem
and consult it's HtmlStatus while setting TopComponent display name.
Comment 5 _ pkuzel 2005-06-02 12:14:04 UTC
Look for: "The same colors are used in editor tab labels."
Comment 6 Petr Nejedly 2005-06-02 13:50:02 UTC
In method getMVTCDisplayName(), you have to pick the name you're enhancing with
"[ro]" and "*" from the node, not from the data object.
The best would be to just delegate to the text editor part of the multiview
instead of doing the work yourself, as the DataEditorSupport already does all
that enhancements to the display name.

Comment 7 Jan Stola 2005-08-29 13:07:10 UTC
Fixed.
Comment 8 _ pkuzel 2005-08-29 13:55:32 UTC
VERIFIED