Revision 46050 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/DALActionFactory.java

View differences:

DALActionFactory.java
6 6
import org.gvsig.fmap.dal.DataStore;
7 7
import org.gvsig.fmap.dal.feature.FeatureQuery;
8 8
import org.gvsig.fmap.dal.feature.FeatureQueryOrder;
9
import org.gvsig.tools.util.IsApplicable;
9 10

  
10 11
/**
11 12
 *
12 13
 * @author jjdelcerro
13 14
 */
14
public interface DALActionFactory {
15
public interface DALActionFactory extends IsApplicable {
15 16

  
16 17
    public interface DALActionContext {
17 18
        public String getName();
......
29 30
    
30 31
    public String getName();
31 32

  
32
    public boolean  isApplicable(DALActionContext context);
33
    /**
34
     * Check if this factory is applicable to the first argument.
35
     * The first argument can be instanceof DALActionContext
36
     * @param args
37
     * @return 
38
     */
39
    @Override
40
    public boolean isApplicable(Object... args);
33 41
    
34 42
    public Action createAction(DALActionContext context);
35 43
    

Also available in: Unified diff