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 |
package org.gvsig.fmap.data.feature.file.dxf.operation; |
---|---|
2 |
|
3 |
import org.gvsig.fmap.data.feature.file.dxf.DXFResource; |
4 |
|
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 |
DXFResource |
17 |
.setLegendLabelingManagerFactory(new DXFLegendLabelingManagerFactory());
|
18 |
} |
19 |
|
20 |
|
21 |
} |