Class TypeOpaqueCompositeActorTableauFactory

    • Method Detail

      • createTableau

        public Tableau createTableau​(Effigy effigy)
                              throws java.lang.Exception
        Create a tableau in the default workspace with no name for the given Effigy. The tableau will created with a new unique name in the given model effigy. If this factory cannot create a tableau for the given effigy (if it is not of type TypeOpaqueCompositeActor) then return null. It is the responsibility of callers of this method to check the return value and call show().
        Overrides:
        createTableau in class ActorGraphTableau.Factory
        Parameters:
        effigy - The model effigy.
        Returns:
        A new ActorGraphTableau, if the effigy is a PtolemyEffigy, or null otherwise.
        Throws:
        java.lang.Exception - If an exception occurs when creating the tableau.