public void onEvent(UndoableEvent event) { }
@Override
public void undoAction(UndoableEvent event) {
FBMenuItem item = (FBMenuItem) event.getData("menuItem");
String group = (String) event.getData("groupName");
bus.fireEvent(new MenuItemAddedEvent(item, group));
}
@Override
public void doAction(UndoableEvent event) {
FBMenuItem item = (FBMenuItem) event.getData("menuItem");
String group = (String) event.getData("groupName");