Statistics
| Revision:

gvsig-3d / 2.1 / branches / extrusion / org.gvsig.view3d.main / src / main / java / org / gvsig / view3d / main / DummieExtendedPropertiesSupport.java @ 657

History | View | Annotate | Download (657 Bytes)

1
package org.gvsig.view3d.main;
2

    
3
import java.util.HashMap;
4
import java.util.Map;
5

    
6
import org.gvsig.fmap.mapcontext.layers.ExtendedPropertiesSupport;
7

    
8

    
9
public class DummieExtendedPropertiesSupport implements
10
    ExtendedPropertiesSupport {
11
    
12
    private Map<Object, Object> properties;
13
    
14
    public DummieExtendedPropertiesSupport() {
15
        properties = new HashMap<Object, Object>();
16
    }
17

    
18
    public Object getProperty(Object key) {
19
        return properties.get(key);
20
    }
21

    
22
    public void setProperty(Object key, Object obj) {
23
        properties.put(key, obj);
24
    }
25

    
26
    public Map getExtendedProperties() {
27
        return properties;
28
    }
29

    
30
}