?????????????????? API ????????????????????????...

MimeLookup? Java ?????????? Lookup ??????????? CodeTemplateSettings????getCodeTemplateDescriptions()????? CodeTemplateDescription???????
Lookup l = MimeLookup.getLookup(MimePath.parse("text/x-java"));CodeTemplateSettings cds = l.lookup(CodeTemplateSettings.class);List codeTemplates = cds.getCodeTemplateDescriptions();for (Iterator it = codeTemplates.iterator(); it.hasNext();) { CodeTemplateDescription desc = (CodeTemplateDescription) it.next(); System.out.println(desc.getAbbreviation() + "=>" + desc.getParametrizedText());}MimeLookup??MIME ?????? API?? CodeTemplateSettings?CodeTemplateDescription????????????????????????

???????? Document ?? CodeTemplateManager?????getCodeTemplates()???????????????????????? CodeTemplate????????
CodeTemplateManager mgr = CodeTemplateManager.get(textComp.getDocument());Co llection