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.
[Linux, NB Build 200109270100, JDK1.3.1] Steps to reproduce: ------------------- 1) install pilsen_fcs XML, XML-Syntax, (CORBA) modules into NB 3.3 2) expand Tools > Options > Editing > Editor Settings IDE throws thre Warning dialogs: "KitClass class org.netbeans.modules.xml.text.syntax.XML(DTD,CSS)Kit has not define method getContetntType(). It should not be displayed as node in Editor Settings." I saw it too in Corba IDL Kit.
All subclasses of NbEditorKit have to override and define the method public String getContentType() I have already announced this via nbdev mailing list. http://www.netbeans.org/servlets/ReadMsg?msgId=144469&listName=nbdev As I see it is neccessary to fire a bug against appropriate modules. Thanks, Mato
bug #15982 and bug #15983 have been fired against xml and corba module.
Yes, I understand it. But modules written for NetBeans 3.2 (Pilsen) has to run in NetBeans 3.3. That is reason why I fire this bug.
Yes. I apologize. I was too quick.;-)
By definition, all such bugs are Beta stoppers.
I found in JavaDoc from EditorKit.getContentType(): "Gets the MIME type of the data that this kit represents support for." I understand this that each EditorKit is *required* to return proper MIME type string. If it is not, it is a bug. If I understand right the JavaDoc, I recommend to close this bug.
Fix this bug please. The JavaDoc is not so clear and old modules should work.
fixed in [maintrunk] getContentType has been implementented for "org.netbeans.modules.properties.syntax.PropertiesKit", "text/x-properties" "org.netbeans.modules.web.core.syntax.JSPKit", "text/x-jsp" "org.netbeans.modules.css.text.syntax.CSSEditorKit", "text/css" "org.netbeans.modules.xml.css.editor.CSSEditorKit", "text/css" "org.netbeans.modules.xml.text.syntax.DTDKit", "text/x-dtd" "org.netbeans.modules.xml.text.syntax.XMLKit", "text/xml" "org.netbeans.modules.corba.idl.editor.coloring.IDLKit", "text/x-idl" /cvs/editor/src/org/netbeans/modules/editor/NbEditorKit.java,v <-- NbEditorKit.java new revision: 1.25; previous revision: 1.24
getContentType() implements unknown kitclasses too ...
Verified in 200210150100
Resolved for 3.3.x or earlier, no new info since then -> closing.