Examples of DocTableau


Examples of ptolemy.vergil.actor.DocTableau

        }
        ((DocEffigy) effigy).setDocAttribute(docAttribute);
        ComponentEntity tableau = ((Effigy) effigy).getEntity("DocTableau");
        if (tableau == null) {
            try {
                tableau = new DocTableau((DocEffigy) effigy, "DocTableau");

                ((DocTableau) tableau).setTitle("Documentation for "
                        + target.getFullName());
            } catch (KernelException exception) {
                throw new InternalErrorException(exception);
            }
        } else {
            if (isMultipleDocumentationAllowed()) {
                try {
                    // FIXME: This is necessary for Kepler, but
                    // not for Ptolemy?  Why?

                    // Create a new tableau with a unique name
                    tableau = new DocTableau((DocEffigy) effigy, effigy
                            .uniqueName("DocTableau"));
                    ((DocTableau) tableau).setTitle("Documentation for "
                            + target.getFullName());
                } catch (KernelException exception) {
                    MessageHandler.error("Failed to display documentation for "
View Full Code Here

Examples of ptolemy.vergil.actor.DocTableau

            try {
                DocEffigy newEffigy = new DocEffigy((CompositeEntity) effigy
                        .getContainer(), effigy.getContainer().uniqueName(
                        "parentClass"));
                newEffigy.setDocAttribute(doc);
                DocTableau tableau = new DocTableau(newEffigy, "docTableau");
                tableau.show();
            } catch (KernelException e) {
                MessageHandler.error("Error opening documentation", e);
            }
            return;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.