forked from jverein/jverein
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import von Mitglieder ohne Daten zu löschen (#326)
- Loading branch information
Showing
8 changed files
with
1,164 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
src/de/jost_net/JVerein/gui/action/MitgliederImportAction.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package de.jost_net.JVerein.gui.action; | ||
|
||
import de.jost_net.JVerein.gui.dialogs.ImportDialog; | ||
import de.jost_net.JVerein.gui.view.DokumentationUtil; | ||
import de.jost_net.JVerein.rmi.Mitglied; | ||
import de.willuhn.jameica.gui.Action; | ||
import de.willuhn.jameica.gui.GUI; | ||
import de.willuhn.jameica.system.OperationCanceledException; | ||
import de.willuhn.logging.Logger; | ||
import de.willuhn.util.ApplicationException; | ||
|
||
public class MitgliederImportAction implements Action | ||
{ | ||
|
||
@Override | ||
public void handleAction(Object context) throws ApplicationException | ||
{ | ||
try | ||
{ | ||
ImportDialog d = new ImportDialog(null, Mitglied.class, true, | ||
DokumentationUtil.MITGLIEDIMPORT); | ||
d.open(); | ||
} | ||
catch (OperationCanceledException oce) | ||
{ | ||
Logger.info(oce.getMessage()); | ||
return; | ||
} | ||
catch (ApplicationException ae) | ||
{ | ||
throw ae; | ||
} | ||
catch (Exception e) | ||
{ | ||
Logger.error("error while importing transfers", e); | ||
GUI.getStatusBar().setErrorText("Fehler beim Importieren von MItgliedern"); | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.