Revision 224

View differences:

org.gvsig.educa.thematicmap/trunk/org.gvsig.educa.thematicmap/org.gvsig.educa.thematicmap.lib/org.gvsig.educa.thematicmap.lib.impl/src/main/java/org/gvsig/educa/thematicmap/impl/map/DefaultThematicMap.java
24 24
import java.io.File;
25 25
import java.io.IOException;
26 26

  
27
import org.slf4j.Logger;
28
import org.slf4j.LoggerFactory;
29

  
27
import org.gvsig.educa.thematicmap.ThematicMapLocator;
28
import org.gvsig.educa.thematicmap.ThematicMapManager;
30 29
import org.gvsig.educa.thematicmap.impl.MapResoucesManager;
31 30
import org.gvsig.educa.thematicmap.map.CantLoadContextException;
32 31
import org.gvsig.educa.thematicmap.map.InvalidThematicMapFormatException;
33 32
import org.gvsig.educa.thematicmap.map.ThematicMap;
34 33
import org.gvsig.educa.thematicmap.map.ThematicMapInformation;
34
import org.gvsig.educa.thematicmap.spi.ThematicMapProvider;
35 35
import org.gvsig.fmap.mapcontext.MapContext;
36 36
import org.gvsig.tools.ToolsLocator;
37 37
import org.gvsig.tools.dispose.DisposableManager;
38
import org.gvsig.tools.dynobject.DynObject;
39
import org.gvsig.tools.service.ServiceException;
40
import org.gvsig.tools.service.spi.ProviderManager;
41
import org.slf4j.Logger;
42
import org.slf4j.LoggerFactory;
38 43

  
39 44
/**
40 45
 * <p>
......
130 135
        }
131 136

  
132 137
    }
138

  
139
	public void executeGame(DynObject pareameters) {
140
		ThematicMapManager manager = ThematicMapLocator.getManager();
141
		ProviderManager provMgr = manager.getProviderManager();
142
		try {
143
			ThematicMapProvider game = (ThematicMapProvider) provMgr.createProvider(pareameters, null);
144
		} catch (ServiceException e) {
145
			// TODO Auto-generated catch block
146
			e.printStackTrace();
147
		}
148
		System.out.println("miau");
149
//		game.execute();
150
	}
151
	
152
//	public void executeGame(DynStruct pareameters) {
153
//		ThematicMapManager manager = ThematicMapLocator.getManager();
154
//		ProviderManager provMgr = manager.getProviderManager();
155
//		ThematicMapProvider game = (ThematicMapProvider) provMgr.createProvider(pareameters, null);
156
//		game.execute();
157
//	}
158

  
133 159
}
org.gvsig.educa.thematicmap/trunk/org.gvsig.educa.thematicmap/org.gvsig.educa.thematicmap.lib/org.gvsig.educa.thematicmap.lib.impl/src/main/java/org/gvsig/educa/thematicmap/impl/editor/DefaultThematicMapCompilationEditor.java
143 143

  
144 144
        stepIdentification = new StepIdentification(this, allowChangeId);
145 145
        stepValidation = new StepValidation(this);
146
        
147
        
148
        // TODO: if thematicmap is a game, add the list of optionPanels to the wizard.
146 149

  
147 150
        wizard.addOptionPanel(stepIdentification);
148 151
        if (editLayers) {

Also available in: Unified diff