svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.file / org.gvsig.fmap.dal.file.lib / src / main / java / org / gvsig / fmap / dal / serverexplorer / filesystem / FilesystemServerExplorerFactory.java @ 43020
History | View | Annotate | Download (1.33 KB)
1 |
|
---|---|
2 |
package org.gvsig.fmap.dal.serverexplorer.filesystem; |
3 |
|
4 |
import org.gvsig.fmap.dal.DataServerExplorerParameters; |
5 |
import org.gvsig.fmap.dal.exception.InitializeException; |
6 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.impl.DefaultFilesystemServerExplorer; |
7 |
import org.gvsig.fmap.dal.spi.AbstractDataServerExplorerFactory; |
8 |
import org.gvsig.fmap.dal.spi.DataServerExplorerProviderServices; |
9 |
|
10 |
|
11 |
public class FilesystemServerExplorerFactory |
12 |
extends AbstractDataServerExplorerFactory {
|
13 |
|
14 |
public FilesystemServerExplorerFactory() {
|
15 |
super(
|
16 |
FilesystemServerExplorer.NAME, |
17 |
null
|
18 |
); |
19 |
} |
20 |
|
21 |
@Override
|
22 |
public int allowCreate() { |
23 |
return super.allowCreate(); //To change body of generated methods, choose Tools | Templates. |
24 |
} |
25 |
|
26 |
@Override
|
27 |
public FilesystemServerExplorerParameters createParameters() {
|
28 |
return new FilesystemServerExplorerParameters(); |
29 |
} |
30 |
|
31 |
@Override
|
32 |
public FilesystemServerExplorer create(
|
33 |
DataServerExplorerParameters parameters, |
34 |
DataServerExplorerProviderServices providerServices |
35 |
) throws InitializeException {
|
36 |
FilesystemServerExplorer explorer = new DefaultFilesystemServerExplorer(
|
37 |
(FilesystemServerExplorerParameters) parameters, |
38 |
providerServices); |
39 |
return explorer;
|
40 |
} |
41 |
|
42 |
} |