branch feature/7420 created (now d216c2a)
This is an automated email from the git hooks/post-receive script. New change to branch feature/7420 in repository faxtomail. See http://git.codelutin.com/faxtomail.git at d216c2a test de timer This branch includes the following new commits: new d216c2a test de timer The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit d216c2a4f044d7c7c5cd823bbfd9a0694841fd8b Author: Kevin Morin <morin@codelutin.com> Date: Wed Aug 26 14:46:06 2015 +0200 test de timer -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/7420 in repository faxtomail. See http://git.codelutin.com/faxtomail.git commit d216c2a4f044d7c7c5cd823bbfd9a0694841fd8b Author: Kevin Morin <morin@codelutin.com> Date: Wed Aug 26 14:46:06 2015 +0200 test de timer --- .../ui/swing/content/demande/DemandeListUIHandler.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeListUIHandler.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeListUIHandler.java index 2dd8a5a..f76d091 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeListUIHandler.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeListUIHandler.java @@ -76,6 +76,8 @@ import javax.swing.table.TableCellEditor; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.TreePath; import java.awt.*; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import java.awt.event.MouseEvent; @@ -329,6 +331,17 @@ public class DemandeListUIHandler extends AbstractFaxToMailDemandListHandler<Dem rootPane.getActionMap().put(REFRESH_FOLDER_ACTION, refreshAction); loadFolderDemands(nodesByFolder); + + Timer t = new Timer(10000, new ActionListener() { + @Override + public void actionPerformed(ActionEvent e) { + LoadFolderEmailsAction refreshAction = getContext().getActionFactory().createLogicAction(DemandeListUIHandler.this, LoadFolderEmailsAction.class); + getContext().getActionEngine().runAction(refreshAction); + } + }); + + t.start(); + } public void updateEmailFilterWithContextEmailFilter() { -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm