01: /*
02: * uDig - User Friendly Desktop Internet GIS client http://udig.refractions.net (C) 2004,
03: * Refractions Research Inc. This library is free software; you can redistribute it and/or modify it
04: * under the terms of the GNU Lesser General Public License as published by the Free Software
05: * Foundation; version 2.1 of the License. This library is distributed in the hope that it will be
06: * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
07: * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
08: */
09: package net.refractions.udig.project;
10:
11: /**
12: * A element that is contained by a project. The Map and Page classes implement this interface and
13: * can therefore be part of a project.
14: *
15: * @author jeichar
16: * @since 0.3
17: */
18: public interface IProjectElement {
19: /**
20: * Returns the owner project of element.
21: *
22: * @return the owner project of element.
23: */
24: public IProject getProject();
25:
26: /**
27: * Returns the name of the element.
28: *
29: * @return the name of the element.
30: */
31: public String getName();
32:
33: }
|