gvsig-tools / org.gvsig.tools / library / trunk / org.gvsig.tools / org.gvsig.tools.swing / org.gvsig.tools.swing.api / src / main / java / org / gvsig / tools / swing / api / script / ScriptSwingManager.java @ 1774
History | View | Annotate | Download (984 Bytes)
1 | 1754 | jjdelcerro | package org.gvsig.tools.swing.api.script; |
---|---|---|---|
2 | |||
3 | import java.util.List; |
||
4 | import javax.swing.JButton; |
||
5 | import javax.swing.JComboBox; |
||
6 | 1774 | jjdelcerro | import javax.swing.JList; |
7 | 1754 | jjdelcerro | import javax.swing.JTextField; |
8 | import org.gvsig.tools.script.Script; |
||
9 | import org.gvsig.tools.swing.api.Component; |
||
10 | import org.gvsig.tools.swing.api.pickercontroller.PickerController; |
||
11 | |||
12 | /**
|
||
13 | *
|
||
14 | * @author jjdelcerro
|
||
15 | */
|
||
16 | public interface ScriptSwingManager { |
||
17 | 1774 | jjdelcerro | |
18 | 1754 | jjdelcerro | public interface ScriptChooserPanel extends Component { |
19 | 1774 | jjdelcerro | |
20 | 1754 | jjdelcerro | public int showDialog(); |
21 | 1774 | jjdelcerro | |
22 | 1754 | jjdelcerro | public Script getScript();
|
23 | 1774 | jjdelcerro | |
24 | 1754 | jjdelcerro | public int getAction(); |
25 | } |
||
26 | 1774 | jjdelcerro | |
27 | 1754 | jjdelcerro | public ScriptChooserPanel createScriptChooserPanel();
|
28 | |||
29 | 1774 | jjdelcerro | public PickerController<Script> createScriptPickerController(JTextField text, JButton chooser); |
30 | |||
31 | public PickerController<List<Script>> createListScriptPickerController(JComboBox combo, JButton remove, JButton chooser); |
||
32 | |||
33 | public PickerController<List<Script>> createListScriptPickerController(JList list, JButton remove, JButton chooser); |
||
34 | 1754 | jjdelcerro | } |