root / branches / v2_0_0_prep / applications / appgvSIG / src / org / gvsig / app / project / documents / gui / IDocumentWindow.java @ 38608
History | View | Annotate | Download (2.4 KB)
1 | 36411 | cordinyana | /* gvSIG. Geographic Information System of the Valencian Government
|
---|---|---|---|
2 | *
|
||
3 | * Copyright (C) 2007-2008 Infrastructures and Transports Department
|
||
4 | * of the Valencian Government (CIT)
|
||
5 | 9199 | maquerol | *
|
6 | 36411 | cordinyana | * 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 2
|
||
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 | 9199 | maquerol | */
|
22 | 29598 | jpiera | package org.gvsig.app.project.documents.gui; |
23 | 9199 | maquerol | |
24 | 35193 | jjdelcerro | import org.gvsig.andami.ui.mdiManager.IWindow; |
25 | import org.gvsig.andami.ui.mdiManager.IWindowListener; |
||
26 | import org.gvsig.andami.ui.mdiManager.SingletonWindow; |
||
27 | 31496 | jjdelcerro | import org.gvsig.app.project.documents.Document; |
28 | |||
29 | 9199 | maquerol | /**
|
30 | * @author Miguel ?ngel Querol Carratal? <querol_mig@gva.es>
|
||
31 | 36411 | cordinyana | *
|
32 | * Interfaz que tienen que implementar las clases de interfaz de
|
||
33 | * usuario de los documentos que se quieran insertar en gvSIG. Estas
|
||
34 | * clases se usar?n para cargar y guardar las propiedades graficas de la
|
||
35 | * ventana
|
||
36 | * del documento como tama?os y posiciones.
|
||
37 | 9199 | maquerol | */
|
38 | 36411 | cordinyana | public interface IDocumentWindow extends IWindow, IWindowListener, |
39 | SingletonWindow { |
||
40 | |||
41 | /**
|
||
42 | * M?todo para obtener un windowData con las propiedades de la
|
||
43 | * ventana del documento como pueden ser tama?os, posiciones y
|
||
44 | * estados de sliders, divisores etc. Este m?todo ser? llamado
|
||
45 | * para guardar los datos a disco. Lo llamar? la clase project para
|
||
46 | * obtener los datos y asi guardarlos.
|
||
47 | *
|
||
48 | * @return un windowData con los datos de la ventana.
|
||
49 | */
|
||
50 | public WindowLayout getWindowLayout();
|
||
51 | |||
52 | /**
|
||
53 | * M?todo para cargar los datos de la ventana de proyecto. El widowData
|
||
54 | * guardado
|
||
55 | * se le pasa a la clase de interfaz de usuario correspondiente a la ventana
|
||
56 | * del documento.
|
||
57 | *
|
||
58 | * @param winData
|
||
59 | */
|
||
60 | public void setWindowLayout(WindowLayout layout); |
||
61 | |||
62 | public void setDocument(Document document); |
||
63 | |||
64 | public Document getDocument(); |
||
65 | |||
66 | 9199 | maquerol | } |