Package framework.beans.directory.writer.template

Examples of framework.beans.directory.writer.template.TextTemplateDetails


    }
}//GEN-LAST:event_btDeleteAtcNodeActionPerformed

private void btAddTemplateActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btAddTemplateActionPerformed
    try {
        TextTemplateDetails details = new TextTemplateDetails();
        details.title = "Введите текст шаблона";
        details.groupId = templateNode.getID();
        DirectoryTextTemplateItem item = new DirectoryTextTemplateItem(details);
        dirTextTemplate.getItems().append(item);
        updateTable(templateNode);
View Full Code Here


        super(DirectoryTextTemplateBean.class.getSimpleName());
    }

    @Override
    protected DirectoryTextTemplateItem createFromLoadedDetails(DirectoryItemDetails details) {
        TextTemplateDetails d = (TextTemplateDetails) details;
        return new DirectoryTextTemplateItem(d);
    }
View Full Code Here

        if (treePathEnd != null &&
                treePathEnd instanceof DirectoryTextTemplateTreeItem) {
            DirectoryTextTemplateTreeItem treeItem = (DirectoryTextTemplateTreeItem) treePathEnd;
            DirectoryTextTemplate dir = (DirectoryTextTemplate) DirectoryLocator.getDirectory(DirectoryTextTemplate.class, false);

            TextTemplateDetails details = new TextTemplateDetails();
            details.title = template;
            details.groupId = treeItem.getID();
            DirectoryTextTemplateItem newItem = new DirectoryTextTemplateItem(details);

            dir.getItems().append(newItem);
View Full Code Here

TOP

Related Classes of framework.beans.directory.writer.template.TextTemplateDetails

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.