Revision 10942 branches/v10/extensions/extSDE/src/com/iver/cit/gvsig/sde/ExtSDE.java
ExtSDE.java | ||
---|---|---|
2 | 2 |
* Created on 22-jun-2005 |
3 | 3 |
* |
4 | 4 |
* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
5 |
*
|
|
5 |
* |
|
6 | 6 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
7 |
*
|
|
7 |
* |
|
8 | 8 |
* This program is free software; you can redistribute it and/or |
9 | 9 |
* modify it under the terms of the GNU General Public License |
10 | 10 |
* as published by the Free Software Foundation; either version 2 |
11 | 11 |
* of the License, or (at your option) any later version. |
12 |
*
|
|
12 |
* |
|
13 | 13 |
* This program is distributed in the hope that it will be useful, |
14 | 14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | 15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | 16 |
* GNU General Public License for more details. |
17 |
*
|
|
17 |
* |
|
18 | 18 |
* You should have received a copy of the GNU General Public License |
19 | 19 |
* along with this program; if not, write to the Free Software |
20 | 20 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21 |
*
|
|
21 |
* |
|
22 | 22 |
* For more information, contact: |
23 | 23 |
* |
24 | 24 |
* Generalitat Valenciana |
... | ... | |
30 | 30 |
* +34 963862235 |
31 | 31 |
* gvsig@gva.es |
32 | 32 |
* www.gvsig.gva.es |
33 |
*
|
|
33 |
* |
|
34 | 34 |
* or |
35 |
*
|
|
35 |
* |
|
36 | 36 |
* IVER T.I. S.A |
37 | 37 |
* Salamanca 50 |
38 | 38 |
* 46005 Valencia |
39 | 39 |
* Spain |
40 |
*
|
|
40 |
* |
|
41 | 41 |
* +34 963163400 |
42 | 42 |
* dac@iver.es |
43 | 43 |
*/ |
44 | 44 |
package com.iver.cit.gvsig.sde; |
45 | 45 |
|
46 | 46 |
import com.iver.andami.plugins.Extension; |
47 |
|
|
47 | 48 |
import com.iver.cit.gvsig.AddLayer; |
48 | 49 |
import com.iver.cit.gvsig.sde.gui.sdewizard.WizardSDE; |
49 | 50 |
|
50 |
public class ExtSDE implements Extension { |
|
51 | 51 |
|
52 |
public void inicializar() {
|
|
53 |
System.out.println("A?ado Wizard SDE.");
|
|
54 |
AddLayer.addWizard(WizardSDE.class);
|
|
55 |
|
|
56 |
}
|
|
57 |
|
|
52 |
/**
|
|
53 |
* SDE Extension.
|
|
54 |
*
|
|
55 |
* @author Vicente Caballero Navarro |
|
56 |
*/
|
|
57 |
public class ExtSDE extends Extension { |
|
58 | 58 |
public void execute(String actionCommand) { |
59 |
// TODO Auto-generated method stub |
|
60 |
|
|
61 | 59 |
} |
62 | 60 |
|
63 | 61 |
public boolean isEnabled() { |
64 |
// TODO Auto-generated method stub |
|
65 | 62 |
return false; |
66 | 63 |
} |
67 | 64 |
|
68 | 65 |
public boolean isVisible() { |
69 |
// TODO Auto-generated method stub |
|
70 | 66 |
return false; |
71 | 67 |
} |
72 | 68 |
|
69 |
public void initialize() { |
|
70 |
System.out.println("A?ado Wizard SDE."); |
|
71 |
AddLayer.addWizard(WizardSDE.class); |
|
72 |
} |
|
73 | 73 |
} |
Also available in: Unified diff