public void onEvent(UndoableEvent event) { }
@Override
public void undoAction(UndoableEvent event) {
FBMenuItem menuItem = (FBMenuItem) event.getData("menuItem");
String groupName = (String) event.getData("groupName");
MenuItemRemoveEvent mevent = new MenuItemRemoveEvent(menuItem, groupName);
CommonGlobals.getInstance().getEventBus().fireEvent(mevent);
}
@Override
public void doAction(UndoableEvent event) {
FBMenuItem menuItem = (FBMenuItem) event.getData("menuItem");