Statistics
| Revision:

gvsig-scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.swing / org.gvsig.scripting.swing.api / src / main / java / org / gvsig / scripting / swing / api / JScriptingLauncher.java @ 188

History | View | Annotate | Download (996 Bytes)

1
package org.gvsig.scripting.swing.api;
2

    
3
import javax.swing.JPanel;
4
import javax.swing.JTabbedPane;
5

    
6
/**
7
 * <code>JScriptingLauncher</code> is a component that contains {@link JScriptingBrowser}s
8
 * to navigate for the User's Folder and for System's Folder. It has a tab for each
9
 * {@link JScriptingBrowser}.
10
 * It catches the exceptions throws by {@link JScriptingBrowser} and it do the associated
11
 * action or throw a new exception to the {@link JScriptingComposer} (if it's included on it)
12
 * 
13
 * @see JScriptingBrowser
14
 * @see JScriptingComposer
15
 * 
16
 */
17

    
18
public abstract class JScriptingLauncher extends JPanel {
19

    
20
        /**
21
         * 
22
         */
23
        private static final long serialVersionUID = 5245047388558885409L;
24
        public static final int DEFAULT_ACTION = 1;
25
        public static final int SELECTION_ACTION = 2;
26
        public static final int DROPDOWN_ACTION = 3;
27
        
28
        /**
29
         * Reloads the content of the {@link JScriptingBrowser}s
30
         *
31
         */
32
        public abstract void refresh();
33
        
34
        public abstract JTabbedPane getTabbedPane();
35
}