X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Fjsite%2Fgui%2FNodeManagerListener.java;h=760c9670fc64f93bb471ff58e10804a998ea4400;hb=953de352675a4ad91fe307d816a4ea7780c94274;hp=924c7f674ae8dac59ba18d16177dfbeb6849673b;hpb=0e4db8be621729d48c6c4bf66c3ae6ab20df9de7;p=jSite.git diff --git a/src/de/todesbaum/jsite/gui/NodeManagerListener.java b/src/de/todesbaum/jsite/gui/NodeManagerListener.java index 924c7f6..760c967 100644 --- a/src/de/todesbaum/jsite/gui/NodeManagerListener.java +++ b/src/de/todesbaum/jsite/gui/NodeManagerListener.java @@ -1,6 +1,5 @@ /* - * jSite-0.7 - - * Copyright (C) 2006 David Roden + * jSite - NodeManagerListener.java - Copyright © 2006–2012 David Roden * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,17 +25,25 @@ import de.todesbaum.jsite.application.Node; /** * Listener interface for objects that want to be notified if the node * configuration changes. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public interface NodeManagerListener extends EventListener { /** * Notifies a listener that the node configuration was changed. - * + * * @param nodes * The new list of nodes */ public void nodesUpdated(Node[] nodes); + /** + * Notifies a listener that the selected node has changed. + * + * @param node + * The new selected node + */ + public void nodeSelected(Node node); + }