Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libFMap_dataFile / src / org / gvsig / fmap / data / feature / file / dgn / operation / Register.java @ 23303

History | View | Annotate | Download (543 Bytes)

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

    
3
import org.gvsig.fmap.data.feature.file.dgn.DGNResource;
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
                DGNResource
18
                                .setLegendLabelingManagerFactory(new DGNLegendLabelingManagerFactory());
19
        }
20
}