87888990919293949596979899
public int menuAction(int action) { Admin admin = Admin.getInstance(); switch ( action ) { case ACTION_ADD: { IndexDialog id = new IndexDialog(admin, col); id.show(); if ( id.isOkClicked() ) return REFRESH_SELF; } } return REFRESH_NONE; }