PageRenderTime 36ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/bundles/plugins-trunk/Sessions/sessions/SessionChanged.java

#
Java | 48 lines | 15 code | 13 blank | 20 comment | 0 complexity | 03ce08aac27cf811793bc36ddc038324 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. /*
  2. * SessionChanged.java - EditBus message
  3. * Copyright (c) 2001 Dirk Moebius, Sergey V. Udaltsov
  4. *
  5. * :tabSize=4:indentSize=4:noTabs=false:maxLineLen=0:
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License
  9. * as published by the Free Software Foundation; either version 2
  10. * of the License, or any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  20. */
  21. package sessions;
  22. import org.gjt.sp.jedit.EBComponent;
  23. public final class SessionChanged extends SessionMessage
  24. {
  25. SessionChanged(EBComponent source, String oldSession, String newSession, Session session)
  26. {
  27. super(source, oldSession, newSession);
  28. this.session = session;
  29. }
  30. public final Session getSession()
  31. {
  32. return session;
  33. }
  34. private Session session;
  35. }