Class Display


  • public class Display
    extends LatticeOntologyAdapter
    The default adapter class for ptolemy.actor.lib.gui.Display. This adapter does not add any constraints, but rather removes the actor's title attribute since it is only relevant to the graphical output display and should not be included in the ontology analysis. This is necessary for running ontology solver regression test models that contain Display actors that are run with all graphical classes filtered out and replaced with Discard actors that do not have a title attribute.
    Since:
    Ptolemy II 10.0
    Version:
    $Id$
    Author:
    Charles Shelton
    Pt.AcceptedRating:
    Red (cshelton)
    Pt.ProposedRating:
    Red (cshelton)
    • Method Detail

      • _getPropertyableAttributes

        protected java.util.List<Attribute> _getPropertyableAttributes()
        Return the list of property-able Attributes by calling the super class method. For the Display actor, remove the title attribute since by default they should not be evaluated by the ontology solver.
        Overrides:
        _getPropertyableAttributes in class OntologyAdapter
        Returns:
        The list of property-able Attributes.