Revision 46873 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.newlayer/org.gvsig.newlayer.lib/org.gvsig.newlayer.lib.api/src/main/java/org/gvsig/newlayer/NewLayerService.java
NewLayerService.java | ||
---|---|---|
42 | 42 |
*/ |
43 | 43 |
public interface NewLayerService { |
44 | 44 |
|
45 |
public interface NewLayerServiceListener { |
|
46 |
public void postCreateTable(NewLayerService service); |
|
47 |
} |
|
48 |
|
|
49 |
public class NewLayerServiceAdapter implements NewLayerServiceListener { |
|
50 |
|
|
51 |
@Override |
|
52 |
public void postCreateTable(NewLayerService service) { |
|
53 |
} |
|
54 |
|
|
55 |
} |
|
56 |
|
|
45 | 57 |
/** |
46 | 58 |
* @param type |
47 | 59 |
* @deprecated use {@link #setProviderFactory(NewLayerProviderFactory)} |
... | ... | |
69 | 81 |
|
70 | 82 |
public void createTable() throws NewLayerServiceException; |
71 | 83 |
|
72 |
public void loadTable() throws NewLayerServiceException; |
|
84 |
// public void loadTable() throws NewLayerServiceException;
|
|
73 | 85 |
|
74 | 86 |
public DataServerExplorer getExplorer() throws NewLayerException; |
75 | 87 |
|
76 |
public String getStoreName(); |
|
88 |
public String getStoreProviderName();
|
|
77 | 89 |
|
78 | 90 |
public EditableFeatureType getFeatureType(); |
79 | 91 |
|
... | ... | |
87 | 99 |
|
88 | 100 |
public NewLayerProvider getProvider(); |
89 | 101 |
|
90 |
public void addLayerToView(boolean b);
|
|
102 |
public void setAddTableToProject(boolean b);
|
|
91 | 103 |
|
92 |
public MapContext getMapContext();
|
|
104 |
public boolean isAddTableToProject();
|
|
93 | 105 |
|
106 |
// public MapContext getMapContext(); |
|
107 |
|
|
108 |
public void addNewLayerServiceListener(NewLayerServiceListener listener); |
|
94 | 109 |
} |
Also available in: Unified diff