super.actionPerformed(e);
// Dialog to ask for a case name.
Query query = new Query();
query.addLine("case", "Pattern that the control input must match",
"");
ComponentDialog dialog = new ComponentDialog(CaseGraphFrame.this,
"Add Case", query);
if (dialog.buttonPressed().equals("OK")) {
final String pattern = query.getStringValue("case");
// NOTE: We do not use a TransitionRefinement because we don't
// want the sibling input ports that come with output ports.
String moml = "<entity name=\""
+ StringUtilities.escapeForXML(pattern) + "\" class=\""