Class GiottoCodeGenerator.GiottoEditorFactory

    • Constructor Detail

      • GiottoEditorFactory

        public GiottoEditorFactory​(NamedObj container,
                                   java.lang.String name)
                            throws IllegalActionException,
                                   NameDuplicationException
        Constructs a Giotto EditorFactory object for a Giotto model.
        Parameters:
        container - The container, which is a Giotto model.
        name - The name for this attribute.
        Throws:
        IllegalActionException - If the factory is not of an acceptable attribute for the container.
        NameDuplicationException - If the name coincides with an attribute already in the container.
    • Method Detail

      • createEditor

        public void createEditor​(NamedObj object,
                                 java.awt.Frame parent)
        Create an editor for configuring the specified object with the specified parent window.
        Specified by:
        createEditor in interface Editable
        Specified by:
        createEditor in class EditorFactory
        Parameters:
        object - The object to configure.
        parent - The parent window, or null if there is none.