if (templete.getParentType().equals("pattern")) {
// File fmFile = new File(getClass().getResource("DefaultPattern" + "/" + templete.getName() + "/" + templete.getName() + ".fm").toURI());
is = getClass().getResourceAsStream("DefaultPattern" + "/" + templete.getName() + "/" + templete.getName() + ".fm");
if (is != null) {
templete.setFComponent(patternParser.openFm(is));
is.close();
}
// ��ȡԼ��ģʽ��Ϣ
is =getClass().getResourceAsStream("DefaultPattern" + "/" + templete.getName() + "/" + templete.getName() + ".cm");