root / branches / v2_0_0_prep / libraries / libFMap_dataFile / src / org / gvsig / fmap / data / feature / file / dxf / operation / Register.java @ 23303
History | View | Annotate | Download (545 Bytes)
1 | 22373 | jmvivo | package org.gvsig.fmap.data.feature.file.dxf.operation; |
---|---|---|---|
2 | 22174 | vcaballero | |
3 | 23303 | jmvivo | import org.gvsig.fmap.data.feature.file.dxf.DXFResource; |
4 | 22174 | vcaballero | |
5 | public class Register { |
||
6 | public static void selfRegister() { |
||
7 | //Register operations
|
||
8 | if (DefaultLegendOperation.CODE < 0){ |
||
9 | throw new RuntimeException("Register Operation exception"); |
||
10 | } |
||
11 | |||
12 | if (DefaultLabelingStrategyOperation.CODE < 0){ |
||
13 | throw new RuntimeException("Register Operation exception"); |
||
14 | } |
||
15 | |||
16 | 23303 | jmvivo | DXFResource |
17 | .setLegendLabelingManagerFactory(new DXFLegendLabelingManagerFactory());
|
||
18 | 22174 | vcaballero | } |
19 | |||
20 | |||
21 | } |