Mercurial > hg > RemoteEditor > REPSessionManager
view rep/gui/CloseButtonEvent.java @ 471:d2762d669617
sleep command to wait for singleton prevention
author | one |
---|---|
date | Tue, 12 Oct 2010 10:19:59 +0900 |
parents | 4b87f89b3afd |
children |
line wrap: on
line source
package rep.gui; import rep.Session; import rep.SessionManager; public class CloseButtonEvent implements SessionManagerEvent { private Session session; private SessionManagerEventListener listener; public CloseButtonEvent(Session session, SessionManagerEventListener listener) { this.session = session; this.listener = listener; } public Session getSession(){ return session; } public void exec(SessionManager manager) { listener.closeSession(this); } }