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 25207 - Layer based "Defaults"/initializers do not work
Summary: Layer based "Defaults"/initializers do not work
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@editor
Depends on:
Blocks: 24366
  Show dependency tree
Reported: 2002-06-26 22:36 UTC by _ pkuzel
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2002-06-26 22:36:09 UTC
I have provided "Defaults" for XML MIME type 
but it is not recognized (abbrevs, colors, ...).
I looked at Java and realized that it uses old
approach - an initializer class (it is in editor/lib).
Comment 1 Miloslav Metelka 2002-07-10 08:43:33 UTC
I don't understand what's the problem. The initializers still work and
they provide most of the defaults. The xml files are only necessary
for things like default abbrevs etc.
 One rather important thing is that you need to make sure that your
kit returns the mimetype from the getContentType() method.
 Please look at the
It should contain the necessary info I hope.
 Closing as invalid, please reopen if necessary.
Comment 2 _ lkramolis 2002-07-10 16:02:33 UTC
"Defaults" does not really work. Please look at issue 25126 for more
Comment 3 _ lkramolis 2002-07-17 14:41:31 UTC
Mato explained me that I have to maintain both (java and xml) versions
of abbreviations. We tried it without java initializers what can not work.

Now this issue become invalid.
Comment 4 Quality Engineering 2003-06-30 18:01:13 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-06-30 18:12:15 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.