Revision 43373 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/impl/DefaultDataManager.java
DefaultDataManager.java | ||
---|---|---|
316 | 316 |
|
317 | 317 |
@Override |
318 | 318 |
public DataServerExplorer openServerExplorer(String explorerName, Object... arguments) throws InitializeException, ProviderNotRegisteredException, ValidateDataParametersException { |
319 |
if( arguments.length==1 && arguments[0] instanceof DataServerExplorerParameters ) { |
|
320 |
// Esto hace falta ya que desde scripting si se invoca a openServerExplorercon solo |
|
321 |
// un parametro de tipo DataServerExplorerParameters llama ha este metodo en lugar de |
|
322 |
// llamar al que toca. |
|
323 |
return openServerExplorer(explorerName, (DataServerExplorerParameters)(arguments[0])); |
|
324 |
} |
|
319 | 325 |
if( (arguments.length % 2)!= 0 ) { |
320 | 326 |
throw new ValidateDataParametersException(); |
321 | 327 |
} |
Also available in: Unified diff