Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
  • Loading branch information
willuhn committed Oct 17, 2006
1 parent 309bdb9 commit 1507fa5
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 54 deletions.
3 changes: 2 additions & 1 deletion .cvsignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
bin
releases
releases
rdhnew.rdh
26 changes: 9 additions & 17 deletions src/de/willuhn/jameica/hbci/gui/parts/AbstractTransferList.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**********************************************************************
* $Source: /cvsroot/hibiscus/hibiscus/src/de/willuhn/jameica/hbci/gui/parts/AbstractTransferList.java,v $
* $Revision: 1.2 $
* $Date: 2006/10/17 01:01:21 $
* $Revision: 1.3 $
* $Date: 2006/10/17 23:50:20 $
* $Author: willuhn $
* $Locker: $
* $State: Exp $
Expand All @@ -14,7 +14,6 @@
package de.willuhn.jameica.hbci.gui.parts;

import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;

Expand Down Expand Up @@ -65,7 +64,6 @@ public abstract class AbstractTransferList extends TablePart implements Part
private Input to = null;

private GenericIterator list = null;
private ArrayList transfers = null;

private de.willuhn.jameica.system.Settings settings = null;

Expand Down Expand Up @@ -236,16 +234,6 @@ public void widgetDisposed(DisposeEvent e)

super.paint(parent);

// Wir kopieren den ganzen Kram in eine ArrayList, damit die
// Objekte beim Filter geladen bleiben
transfers = new ArrayList();
list.begin();
while (list.hasNext())
{
Terminable t = (Terminable) list.next();
transfers.add(t);
}

// einmal ausloesen
l.handleEvent(null);

Expand Down Expand Up @@ -275,10 +263,11 @@ public void handleEvent(Event event)
GUI.getView().setErrorText("");

AbstractTransferList.this.removeAll();

for (int i=0;i<transfers.size();++i)

list.begin();
while (list.hasNext())
{
Terminable t = (Terminable) transfers.get(i);
Terminable t = (Terminable) list.next();
Date termin = t.getTermin();
if (termin == null || (dfrom == null && dto == null))
{
Expand Down Expand Up @@ -383,6 +372,9 @@ public boolean autoRegister()

/**********************************************************************
* $Log: AbstractTransferList.java,v $
* Revision 1.3 2006/10/17 23:50:20 willuhn
* *** empty log message ***
*
* Revision 1.2 2006/10/17 01:01:21 willuhn
* @N Filter fuer Ueberweisungen und Lastschriften
*
Expand Down
26 changes: 9 additions & 17 deletions src/de/willuhn/jameica/hbci/gui/parts/EmpfaengerList.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**********************************************************************
* $Source: /cvsroot/hibiscus/hibiscus/src/de/willuhn/jameica/hbci/gui/parts/EmpfaengerList.java,v $
* $Revision: 1.10 $
* $Date: 2006/10/05 16:42:28 $
* $Revision: 1.11 $
* $Date: 2006/10/17 23:50:20 $
* $Author: willuhn $
* $Locker: $
* $State: Exp $
Expand All @@ -14,7 +14,6 @@
package de.willuhn.jameica.hbci.gui.parts;

import java.rmi.RemoteException;
import java.util.ArrayList;

import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
Expand Down Expand Up @@ -50,7 +49,6 @@ public class EmpfaengerList extends TablePart implements Part
private TextInput search = null;

private GenericIterator list = null;
private ArrayList empfaenger = null;

private I18N i18n = null;

Expand Down Expand Up @@ -152,16 +150,6 @@ public void widgetDisposed(DisposeEvent e)
});

super.paint(parent);

// Wir kopieren den ganzen Kram in eine ArrayList, damit die
// Objekte beim Filter geladen bleiben
empfaenger = new ArrayList();
list.begin();
while (list.hasNext())
{
Adresse a = (Adresse) list.next();
empfaenger.add(a);
}
}


Expand Down Expand Up @@ -279,7 +267,7 @@ public void run()
try
{
// Erstmal alle rausschmeissen
removeAll();
EmpfaengerList.this.removeAll();

Adresse a = null;

Expand All @@ -289,9 +277,10 @@ public void run()
boolean empty = text == null || text.length() == 0;
if (!empty) text = text.toLowerCase();

for (int i=0;i<empfaenger.size();++i)
list.begin();
while (list.hasNext())
{
a = (Adresse) empfaenger.get(i);
a = (Adresse) list.next();

// Was zum Filtern da?
if (empty)
Expand Down Expand Up @@ -331,6 +320,9 @@ public void run()

/**********************************************************************
* $Log: EmpfaengerList.java,v $
* Revision 1.11 2006/10/17 23:50:20 willuhn
* *** empty log message ***
*
* Revision 1.10 2006/10/05 16:42:28 willuhn
* @N CSV-Import/Export fuer Adressen
*
Expand Down
30 changes: 11 additions & 19 deletions src/de/willuhn/jameica/hbci/gui/parts/UmsatzList.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**********************************************************************
* $Source: /cvsroot/hibiscus/hibiscus/src/de/willuhn/jameica/hbci/gui/parts/UmsatzList.java,v $
* $Revision: 1.30 $
* $Date: 2006/10/09 23:50:00 $
* $Revision: 1.31 $
* $Date: 2006/10/17 23:50:20 $
* $Author: willuhn $
* $Locker: $
* $State: Exp $
Expand All @@ -14,7 +14,6 @@
package de.willuhn.jameica.hbci.gui.parts;

import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.regex.PatternSyntaxException;
Expand Down Expand Up @@ -78,7 +77,6 @@ public class UmsatzList extends TablePart implements Extendable

private Konto konto = null;
private GenericIterator list = null;
private ArrayList umsaetze = null;

private KL kl = null;
private boolean filter = true;
Expand Down Expand Up @@ -222,16 +220,6 @@ public void handleEvent(Event event)
}
super.paint(parent);

// Wir kopieren den ganzen Kram in eine ArrayList, damit die
// Objekte beim Filter geladen bleiben
umsaetze = new ArrayList();
list.begin();
while (list.hasNext())
{
Umsatz u = (Umsatz) list.next();
umsaetze.add(u);
}

// Und einmal starten bitte
if (this.filter)
kl.process();
Expand Down Expand Up @@ -463,9 +451,6 @@ public void run()
{
try
{
// Erstmal alle rausschmeissen
removeAll();

// Wir holen uns den aktuellen Text
String text = (String) search.getValue();

Expand Down Expand Up @@ -494,9 +479,13 @@ public void run()
typ.setRegex(((Boolean)regex.getValue()).booleanValue());
}

for (int i=0;i<umsaetze.size();++i)
// Erstmal alle rausschmeissen
UmsatzList.this.removeAll();

list.begin();
while (list.hasNext())
{
u = (Umsatz) umsaetze.get(i);
u = (Umsatz) list.next();
date = u.getValuta();

// Wenn der Umsatz ein Datum hat, welches vor dem Limit liegt. Dann raus damit
Expand Down Expand Up @@ -605,6 +594,9 @@ public String getExtendableID()

/**********************************************************************
* $Log: UmsatzList.java,v $
* Revision 1.31 2006/10/17 23:50:20 willuhn
* *** empty log message ***
*
* Revision 1.30 2006/10/09 23:50:00 willuhn
* @N extendable
*
Expand Down

0 comments on commit 1507fa5

Please sign in to comment.