Class PythonShellEffigy.ShellFactory

    • Method Detail

      • canCreateBlankEffigy

        public boolean canCreateBlankEffigy()
        Return true, indicating that this effigy factory is capable of creating an effigy without a URL being specified.
        Overrides:
        canCreateBlankEffigy in class PtolemyEffigy.Factory
        Returns:
        True.
      • createEffigy

        public Effigy createEffigy​(CompositeEntity container,
                                   java.net.URL base,
                                   java.net.URL input)
                            throws java.lang.Exception
        If the input URL is null, then create a blank effigy; otherwise, return null. This effigy is not capable of reading a file. The blank effigy will have a new model associated with it.
        Overrides:
        createEffigy in class PtolemyEffigy.Factory
        Parameters:
        container - The container for the effigy.
        base - The base for relative file references, or null if there are no relative file references.
        input - The input URL.
        Returns:
        A new instance of PythonShellEffigy, or null if the URL is not null.
        Throws:
        java.lang.Exception - If there is some failure. is malformed in some way.