setVisible(true);
break;
case UPDATED:
setModel(event.getModel());
msgDisplay.add(new Msg(fieldPanel.getModel().descriptor() + " updated.", MsgLevel.INFO), null);
break;
case ADDED:
InterfaceStack.this.stackPanel.setStackText(InterfaceStack.this.stackPanel.getWidgetIndex(InterfacePanel.this),
getStackHtml(event.getModel()), true);
setModel(event.getModel());
showCancelButton(false);
showDeleteButton(true);
msgDisplay.add(new Msg(fieldPanel.getModel().descriptor() + " added.", MsgLevel.INFO), null);
break;
case DELETED:
msgDisplay.add(new Msg(fieldPanel.getModel().descriptor() + " deleted.", MsgLevel.INFO), null);
// remove interface
removeInterface(InterfacePanel.this);
break;
}
}