Package ptolemy.actor.gui

Examples of ptolemy.actor.gui.ModelDirectory.uniqueName()


                        Parameter.class);
        if ((applicationBlankPtolemyEffigyAtStartup != null)
                && applicationBlankPtolemyEffigyAtStartup.getExpression()
                        .equals("true")) {
            PtolemyEffigy.Factory factory = new PtolemyEffigy.Factory(
                    directory, directory.uniqueName("ptolemyEffigy"));

            Effigy effigy = factory.createEffigy(directory, null, null);
            configuration.createPrimaryTableau(effigy);
        }
View Full Code Here


                effigy.uri.setURI(uri);
                effigy.identifier.setExpression(uri.toString());

                // Put the effigy into the directory
                ModelDirectory directory = getDirectory();
                effigy.setName(directory.uniqueName(entity.getName()));
                effigy.setContainer(directory);

                // Create a default tableau.
                return createPrimaryTableau(effigy);
            } else {
View Full Code Here

                // If the above code did not find an effigy to put
                // the new effigy within, then put it into the
                // directory directly.
                if (!isContainerSet) {
                    CompositeEntity directory = getDirectory();
                    effigy.setName(directory.uniqueName(entity.getName()));
                    effigy.setContainer(directory);
                    effigy.identifier.setExpression(entity.getFullName());
                }

                return createPrimaryTableau(effigy);
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.