Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libFMap_data_dwg / src / org / gvsig / fmap / data / feature / file / dwg / operation / Register.java @ 23273

History | View | Annotate | Download (537 Bytes)

1
package org.gvsig.fmap.data.feature.file.dwg.operation;
2

    
3
import org.gvsig.fmap.data.feature.file.dwg.DWGResource;
4

    
5

    
6
public class Register {
7
        public static void selfRegister() {
8
                //Register operations
9
                if (DefaultLegendOperation.CODE < 0){
10
                        throw new RuntimeException("Register Operation exception");
11
                }
12

    
13
                if (DefaultLabelingStrategyOperation.CODE < 0){
14
                        throw new RuntimeException("Register Operation exception");
15
                }
16

    
17
                DWGResource.setLegendLabelingManagerFactory(new DWGLegendLabelingManagerFactory());
18
        }
19
}