svn-gvsig-desktop / branches / org.gvsig.desktop-2018a / org.gvsig.desktop.library / org.gvsig.annotation / org.gvsig.annotation.swing / org.gvsig.annotation.swing.api / src / main / java / org / gvsig / annotation / swing / AnnotationSwingManager.java @ 43830
History | View | Annotate | Download (2.42 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2007-2013 gvSIG Association.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 3
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
* For any additional information, do not hesitate to contact us
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
23 |
*/
|
24 |
package org.gvsig.annotation.swing; |
25 |
|
26 |
import org.gvsig.annotation.AnnotationCreationService; |
27 |
import org.gvsig.annotation.AnnotationManager; |
28 |
import org.gvsig.fmap.dal.exception.DataException; |
29 |
import org.gvsig.tools.service.ServiceException; |
30 |
|
31 |
/**
|
32 |
* This class is responsible of the management of the library's swing user
|
33 |
* interface. It is the swing library's main entry point, and provides all the
|
34 |
* services to manage library swing components.
|
35 |
*
|
36 |
* @see AnnotationWindowManager
|
37 |
* @see JAnnotationCreationServicePanel
|
38 |
* @author gvSIG team
|
39 |
* @version $Id$
|
40 |
*/
|
41 |
public interface AnnotationSwingManager { |
42 |
|
43 |
/**
|
44 |
* Returns the panel associated to a {@link AnnotationCreationService}.
|
45 |
*
|
46 |
* @param annotationCreationService
|
47 |
* {@link AnnotationCreationService} contained on the panel
|
48 |
* @return a {@link JAnnotationCreationServicePanel} with the panel of the
|
49 |
* {@link AnnotationCreationService}
|
50 |
* @throws DataException
|
51 |
* @see JAnnotationCreationServicePanel
|
52 |
* @see AnnotationCreationService
|
53 |
*/
|
54 |
public JAnnotationCreationServicePanel createAnnotation(AnnotationCreationService annotationCreationService) throws ServiceException; |
55 |
|
56 |
public JAnnotationPreferencesPanel createAnnotationPreferences();
|
57 |
|
58 |
/**
|
59 |
* Returns the {@link AnnotationManager}.
|
60 |
*
|
61 |
* @return {@link AnnotationManager}
|
62 |
* @see {@link AnnotationManager}
|
63 |
*/
|
64 |
public AnnotationManager getManager();
|
65 |
|
66 |
|
67 |
public String getTranslation(String key); |
68 |
|
69 |
} |