Statistics
| Revision:

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 @ 245

History | View | Annotate | Download (1.97 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
 * 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.geoprocess.sextante.gui.modeler;
25

    
26
import javax.swing.JComponent;
27

    
28
import es.unex.sextante.core.Sextante;
29
import es.unex.sextante.gui.modeler.ModelerPanel;
30
import es.unex.sextante.gui.toolbox.ToolboxPanel;
31

    
32
import org.gvsig.andami.ui.mdiManager.WindowInfo;
33
import org.gvsig.geoprocess.sextante.gui.GeoprocessWindow;
34

    
35
/**
36
 * Geoprocess modeler window.
37
 * 
38
 * @author gvSIG Team
39
 * @version $Id$
40
 */
41
public class ModelerWindow extends GeoprocessWindow {
42

    
43
    private static final long serialVersionUID = -677659097155651764L;
44

    
45
    /**
46
     * Creates a new {@link ModelerWindow}.
47
     * 
48
     * @param toolbox
49
     *            the main geoprocess selector panel
50
     */
51
    public ModelerWindow(ToolboxPanel toolbox) {
52
        super(toolbox);
53
    }
54

    
55
    @Override
56
    protected String getTitle() {
57
        return Sextante.getText("Modeler");
58
    }
59

    
60
    @Override
61
    protected JComponent getMainComponent() {
62
        return new ModelerPanel(null);
63
    }
64

    
65
    public Object getWindowProfile() {
66
        return WindowInfo.DIALOG_PROFILE;
67
    }
68

    
69
}