Revision 956 org.gvsig.raster.postgis/trunk/org.gvsig.raster.postgis/org.gvsig.raster.postgis.swing/org.gvsig.raster.postgis.swing.api/src/main/java/org/gvsig/raster/postgis/swing/AddLayerUI.java

View differences:

AddLayerUI.java
5 5

  
6 6
import javax.swing.JComboBox;
7 7
import javax.swing.JComponent;
8
import javax.swing.event.ListSelectionListener;
8 9

  
9 10
public interface AddLayerUI {
10 11
	public static final String      NOT_MAPPED      =  "***"; 
......
22 23
	 * @param listener
23 24
	 */
24 25
	public void addListenerToBDSelectionCombo(ActionListener listener);
26
	
27
	/**
28
	 * Adds a listener to the table selector
29
	 * @param listener
30
	 */
31
	public void addListenerToTableSelector(ListSelectionListener listener);
32
	
33
	/**
34
	 * Checks if the object passed is the control to select a table
35
	 * @param obj
36
	 * @return
37
	 */
38
	public boolean isAddTableEvent(Object obj);
25 39

  
26 40
	/**
27 41
	 * Checks if the object passed is the control to add a new database connection
......
50 64
	 * Clears the table list
51 65
	 */
52 66
	public void clearList();
67
	
68
	/**
69
	 * Gets the selected subdatasets by the user
70
	 * @return
71
	 */
72
	public int[] getSelectedSubdatasets();
73
	
74
	/**
75
	 * Adds a new element to the subdataset list in the selected database  
76
	 */
77
	public void addSubdatasetToTable(Object obj);
78
	
79
	/**
80
	 * Clears the table of subdatasets
81
	 */
82
	public void clearSubdatasetList();
83
	
84
	/**
85
	 * Returns true if the layer is tiled
86
	 * @return
87
	 */
88
	public boolean isLayerTiled();
53 89

  
54 90
}

Also available in: Unified diff