src/core/net/sf/basedb/util/overview/extensions/ChildNodeLoaderAction.java

Code
Comments
Other
Rev Date Author Line
6046 17 Apr 12 nicklas 1 /**
6046 17 Apr 12 nicklas 2   $Id$
6046 17 Apr 12 nicklas 3
6046 17 Apr 12 nicklas 4   Copyright (C) 2012 Nicklas Nordborg
6046 17 Apr 12 nicklas 5
6046 17 Apr 12 nicklas 6   This file is part of BASE - BioArray Software Environment.
6046 17 Apr 12 nicklas 7   Available at http://base.thep.lu.se/
6046 17 Apr 12 nicklas 8
6046 17 Apr 12 nicklas 9   BASE is free software; you can redistribute it and/or
6046 17 Apr 12 nicklas 10   modify it under the terms of the GNU General Public License
6046 17 Apr 12 nicklas 11   as published by the Free Software Foundation; either version 3
6046 17 Apr 12 nicklas 12   of the License, or (at your option) any later version.
6046 17 Apr 12 nicklas 13
6046 17 Apr 12 nicklas 14   BASE is distributed in the hope that it will be useful,
6046 17 Apr 12 nicklas 15   but WITHOUT ANY WARRANTY; without even the implied warranty of
6046 17 Apr 12 nicklas 16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6046 17 Apr 12 nicklas 17   GNU General Public License for more details.
6046 17 Apr 12 nicklas 18
6046 17 Apr 12 nicklas 19   You should have received a copy of the GNU General Public License
6046 17 Apr 12 nicklas 20   along with BASE. If not, see <http://www.gnu.org/licenses/>.
6046 17 Apr 12 nicklas 21 */
6046 17 Apr 12 nicklas 22 package net.sf.basedb.util.overview.extensions;
6046 17 Apr 12 nicklas 23
6046 17 Apr 12 nicklas 24 import net.sf.basedb.core.DbControl;
6046 17 Apr 12 nicklas 25 import net.sf.basedb.util.extensions.Action;
6046 17 Apr 12 nicklas 26 import net.sf.basedb.util.overview.Node;
6046 17 Apr 12 nicklas 27 import net.sf.basedb.util.overview.OverviewContext;
6046 17 Apr 12 nicklas 28
6046 17 Apr 12 nicklas 29 /**
6046 17 Apr 12 nicklas 30   Load and create child nodes for a given parent node. This action interface 
6046 17 Apr 12 nicklas 31   should be implemented by extensions that add more nodes to the item overview. 
6046 17 Apr 12 nicklas 32   
6046 17 Apr 12 nicklas 33   @author nicklas
6046 17 Apr 12 nicklas 34   @since 3.2
6046 17 Apr 12 nicklas 35 */
6046 17 Apr 12 nicklas 36 public interface ChildNodeLoaderAction
6046 17 Apr 12 nicklas 37   extends Action
6046 17 Apr 12 nicklas 38 {
6046 17 Apr 12 nicklas 39
6046 17 Apr 12 nicklas 40   /**
6046 17 Apr 12 nicklas 41     Create child nodes for the given parent node.
6046 17 Apr 12 nicklas 42   */
6046 17 Apr 12 nicklas 43   public void createChildNodes(DbControl dc, OverviewContext context, Node parentNode);
6046 17 Apr 12 nicklas 44 }