query.addLine("class", "Class name", _lastAttributeClassName);
ComponentDialog dialog = new ComponentDialog(ActorGraphFrame.this,
"Instantiate Attribute", query);
if (dialog.buttonPressed().equals("OK")) {
// Get the associated Ptolemy model.
GraphController controller = getJGraph().getGraphPane()
.getGraphController();
AbstractBasicGraphModel model = (AbstractBasicGraphModel) controller
.getGraphModel();