1 19 20 package org.netbeans.modules.properties.syntax; 21 22 import org.netbeans.editor.Syntax; 23 import org.netbeans.modules.editor.NbEditorKit; 24 import javax.swing.text.Document ; 25 26 32 33 public class PropertiesKit extends NbEditorKit { 34 35 public static final String PROPERTIES_MIME_TYPE = "text/x-properties"; 37 static final long serialVersionUID =3229768447965508461L; 38 39 public String getContentType() { 40 return PROPERTIES_MIME_TYPE; 41 } 42 43 44 public Syntax createSyntax(Document doc) { 45 return new PropertiesSyntax(); 46 } 47 48 } 49 50 63 64 | Popular Tags |