gvsig-geoprocess / org.gvsig.geoprocess / trunk / org.gvsig.geoprocess / org.gvsig.geoprocess.app / org.gvsig.geoprocess.app.mainplugin / src / main / java / org / gvsig / geoprocess / sextante / gui / modeler / ModelerWindow.java @ 239
History | View | Annotate | Download (1.85 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2007,2012 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 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 |
package org.gvsig.geoprocess.sextante.gui.modeler; |
22 |
|
23 |
import javax.swing.JComponent; |
24 |
|
25 |
import es.unex.sextante.core.Sextante; |
26 |
import es.unex.sextante.gui.modeler.ModelerPanel; |
27 |
import es.unex.sextante.gui.toolbox.ToolboxPanel; |
28 |
|
29 |
import org.gvsig.andami.ui.mdiManager.WindowInfo; |
30 |
import org.gvsig.geoprocess.sextante.gui.GeoprocessWindow; |
31 |
|
32 |
/**
|
33 |
* Geoprocess modeler window.
|
34 |
*
|
35 |
* @author gvSIG Team
|
36 |
* @version $Id$
|
37 |
*/
|
38 |
public class ModelerWindow extends GeoprocessWindow { |
39 |
|
40 |
private static final long serialVersionUID = -677659097155651764L; |
41 |
|
42 |
/**
|
43 |
* Creates a new {@link ModelerWindow}.
|
44 |
*
|
45 |
* @param toolbox
|
46 |
* the main geoprocess selector panel
|
47 |
*/
|
48 |
public ModelerWindow(ToolboxPanel toolbox) {
|
49 |
super(toolbox);
|
50 |
} |
51 |
|
52 |
@Override
|
53 |
protected String getTitle() { |
54 |
return Sextante.getText("Modeler"); |
55 |
} |
56 |
|
57 |
@Override
|
58 |
protected JComponent getMainComponent() { |
59 |
return new ModelerPanel(null); |
60 |
} |
61 |
|
62 |
public Object getWindowProfile() { |
63 |
return WindowInfo.DIALOG_PROFILE;
|
64 |
} |
65 |
|
66 |
} |