@Override public void onImportFinished(AjaxRequestTarget target) { sendActionPerformed(); }
public ImportOSchemaCommand(OrienteerDataTable<OClass, ?> table) { super(new ResourceModel("command.import"), table); setIcon(FAIconType.upload); setBootstrapType(BootstrapType.SUCCESS); }
@Override protected void addTableCommands(OrienteerDataTable<OClass, String> table, IModel<DisplayMode> modeModel) { table.addCommand(new CreateOClassCommand(table)); table.addCommand(new EditSchemaCommand<>(table, modeModel)); table.addCommand(new SaveSchemaCommand<>(table, modeModel)); table.addCommand(new DeleteOClassCommand(table)); table.addCommand(new ReloadOMetadataCommand(table)); table.addCommand(new TriggerCommand<>("command.showhide.allclasses", table, showAllClassesModel)); table.addCommand(new ExportOSchemaCommand(table)); table.addCommand(new ImportOSchemaCommand(table)); table.addCommand(new ViewUMLCommand(table)); }