1 /*
2 * Copyright (C) 2004 The Concord Consortium, Inc.,
3 * 10 Concord Crossing, Concord, MA 01741
4 *
5 * Web Site: http://www.concord.org
6 * Email: info@concord.org
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 *
22 */
23 package net.sf.sail.core.activity.model;
24
25
26 public interface INavElement
27 {
28 // There is no setRootNode method because root node is set
29 // when parent node is set.
30 public INavElement getRootElement();
31
32 // Each navigation element can contain a full navigation map as a child
33 // so a parent navigation element is used to record the hierarchy
34 public INavElement getParentElement();
35 public void setParentElement(INavElement element);
36
37 // These are the start up and shut down methods for navigation objects
38 public void initialize();
39 public void close();
40 }
41