@Override public void detachModels() { super.detachModels(); if(classModel!=null) classModel.detach(); }
@Override public void onSubmit(AjaxRequestTarget target) { performMultiAction(target, getSelected()); resetSelection(); }
@Override protected void onInitialize() { super.onInitialize(); applyVisualSettings(this); }
@Override protected void onInstantiation() { super.onInstantiation(); setIcon(FAIconType.copy); setBootstrapType(BootstrapType.WARNING); } }
protected void performMultiAction(AjaxRequestTarget target, List<T> objects) { for (T object : objects) { perfromSingleAction(target, object); } }
@SuppressWarnings("unchecked") @Override protected void onConfigure() { super.onConfigure(); if(checkboxColumn==null) { for (IColumn<T, ?> column : table.getColumns()) { if(column instanceof CheckBoxColumn) { checkboxColumn=(CheckBoxColumn<T, ?, ?>) column; break; } } } setVisible(checkboxColumn!=null); }
@Override protected void onInstantiation() { super.onInstantiation(); setIcon(FAIconType.plus); setBootstrapType(BootstrapType.SUCCESS); }
@Override protected void onInstantiation() { super.onInstantiation(); setBootstrapType(BootstrapType.PRIMARY); setIcon(FAIconType.plus); }
@Override protected void onInitialize() { super.onInitialize(); setBootstrapType(BootstrapType.SUCCESS); setIcon(FAIconType.hand_o_right); setAutoNotify(false); }
@Override public void detachModels() { super.detachModels(); if(propertyModel!=null) propertyModel.detach(); if(documentModel!=null) documentModel.detach(); }
@Override protected void onInstantiation() { super.onInstantiation(); setIcon(FAIconType.times); setBootstrapType(BootstrapType.WARNING); }
@Override protected void onInitialize() { super.onInitialize(); setBootstrapType(BootstrapType.SUCCESS); setIcon(FAIconType.hand_o_right); setAutoNotify(false); }
@Override protected void onInstantiation() { super.onInstantiation(); setIcon(FAIconType.times_circle); setBootstrapType(BootstrapType.DANGER); setChandingModel(true); }
@Override protected void onInitialize() { super.onInitialize(); modal = new ModalWindow("modal"); modal.setAutoSize(true); add(modal); initializeContent(modal); }