Revision 19900 branches/v10/extensions/extPublish/src/org/gvsig/publish/gui/addResource/AddResourceController.java
AddResourceController.java | ||
---|---|---|
77 | 77 |
} |
78 | 78 |
/** |
79 | 79 |
* Shows the window in order to add resources |
80 |
* TODO: At the moment only gets the project information from the first service (it can be filtered) |
|
81 |
* If we want multiservice support, we must have an "activeservice" in this class in order to show |
|
82 |
* the suitable projectinfo tree |
|
80 | 83 |
*/ |
81 | 84 |
public void showWindow(){ |
82 |
window.setModel(publication.getProjectInfo()); |
|
85 |
//window.setModel(publication.getProjectInfo()); |
|
86 |
window.setModel(publication.getServer().getService(0).getProjectInfo()); |
|
83 | 87 |
//show the window |
84 | 88 |
window.showWindow(); |
85 | 89 |
} |
Also available in: Unified diff