if (attribute instanceof NamedObj) {
Iterator styles = ((NamedObj) attribute).attributeList(
ParameterEditorStyle.class).iterator();
while (styles.hasNext() && !foundStyle) {
ParameterEditorStyle style = (ParameterEditorStyle) styles
.next();
try {
style.addEntry(this);
foundStyle = true;
} catch (IllegalActionException ex) {
// Ignore failures here, and just present
// the default dialog.
}