dirTextTemplate = (DirectoryTextTemplate) DirectoryLocator.getDirectory(DirectoryTextTemplate.class, false);
StateSaver.attachTo(this);
}
private void updateTree() throws ClipsException{
DirectoryTextTemplateTree vdls = (DirectoryTextTemplateTree)
DirectoryLocator.getDirectory(DirectoryTextTemplateTree.class, false);
TreeModelTextTemplates model = new TreeModelTextTemplates(vdls);
treeTextTemplates.setRootVisible(true);
treeTextTemplates.setModel(model);
treeTextTemplates.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);