Revision 44713 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.api/src/main/java/org/gvsig/fmap/dal/swing/featuretype/FeatureAttributeSelectionPanel.java

View differences:

FeatureAttributeSelectionPanel.java
1 1
package org.gvsig.fmap.dal.swing.featuretype;
2 2

  
3
import java.util.List;
4
import org.gvsig.fmap.dal.feature.FeatureQueryOrder;
3
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor;
5 4
import org.gvsig.fmap.dal.feature.FeatureStore;
6
import org.gvsig.fmap.dal.feature.FeatureType;
7
import org.gvsig.tools.swing.api.ActionListenerSupport;
8 5
import org.gvsig.tools.swing.api.Component;
9 6

  
10 7
/**
11 8
 *
12 9
 * @author jjdelcerro
13 10
 */
14
public interface FeatureAttributeSelectionPanel extends  Component, ActionListenerSupport {
15
    
16
    public static final String CONFIGURABLE_PANEL_ID = "FeatureAttributeSelectionPanel";
17
    
18
    public static final int DEFAULT_WIDTH = 500;
19
    public static final int DEFAULT_HEIGHT = 350;
20
    
21
    public void setStore(FeatureStore store);
22
    
23
    public void setFeatureType(FeatureType featureType);
11
public interface FeatureAttributeSelectionPanel extends Component {
24 12

  
25
    public void setSelectedNames(List<String> names);
26
    
27
    public List<String> getSelectedNames();
28
    
29
    public FeatureType getFeatureType();
30
        
13
  public static final int DEFAULT_WIDTH = 500;
14
  public static final int DEFAULT_HEIGHT = 400;
15

  
16
  public FeatureAttributeDescriptor getSelectedAttributeDescriptor();
17

  
18
  /**
19
   * Return a TreePath<FeatureAttributeTreeModel.Node> for the selected
20
   * attribute.
21
   *
22
   * @return
23
   */
24
  public FeatureAttributeDescriptor[] getSelectedPath();
25

  
26
  public FeatureStore getSelectedStore();
27
  
28
  public String getSelectedName();
29
  
31 30
}

Also available in: Unified diff