Examples of EditParametersDialog


Examples of ptolemy.actor.gui.EditParametersDialog

        if (button.equals("Cancel")) {
            return;
        }

        if (button.equals("Configure Parameters")) {
            new EditParametersDialog(parent, object);
            return;
        }

        Configuration configuration = (Configuration) Configuration.findEffigy(
                object.getContainer()).toplevel();
View Full Code Here

Examples of ptolemy.actor.gui.EditParametersDialog

            if (preferences == null) {
                MessageHandler
                        .message("No preferences given in the configuration.");
            } else {
                // Open a modal dialog to edit the parameters.
                new EditParametersDialog(BasicGraphFrame.this, preferences,
                        "Edit Ptolemy Preferences");

                // Make the current global variables conform with the
                // new values.
                try {
View Full Code Here

Examples of ptolemy.actor.gui.EditParametersDialog

                if (attributeList.size() > 0) {
                    EditorFactory factory = (EditorFactory) attributeList
                            .get(0);
                    factory.createEditor(target, frame);
                } else {
                    new EditParametersDialog(frame, target);
                }
            } else {
                List<?> ingredientsAttributes = target
                        .attributeList(GTIngredientsAttribute.class);
                try {
View Full Code Here

Examples of ptolemy.actor.gui.EditParametersDialog

     @param attribute The attribute to edit.
     *  @param taget The target whose documentation is being edited.
     */
    private void _editDocAttribute(Frame owner, DocAttribute attribute,
            NamedObj target) {
        new EditParametersDialog(owner, attribute, "Edit Documentation for "
                + target.getName());
    }
View Full Code Here

Examples of ptolemy.actor.gui.EditParametersDialog

                && !event.getActionCommand().equals("Configure")) {

            EditorFactory factory = (EditorFactory) attributeList.get(0);
            factory.createEditor(target, parent);
        } else {
            new EditParametersDialog(parent, target);
        }
    }
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.