Revision 5087
trunk/extensions/extCAD/src/com/iver/cit/gvsig/StartEditing.java | ||
---|---|---|
32 | 32 |
* @see com.iver.andami.plugins.IExtension#execute(java.lang.String) |
33 | 33 |
*/ |
34 | 34 |
public void execute(String actionCommand) { |
35 |
CADExtension.initFocus(); |
|
35 | 36 |
com.iver.andami.ui.mdiManager.View f = PluginServices.getMDIManager() |
36 | 37 |
.getActiveView(); |
37 | 38 |
|
... | ... | |
49 | 50 |
vista.getConsolePanel().setTokenMarker(consoletoken); |
50 | 51 |
vista.showConsole(); |
51 | 52 |
MapControl mapControl = (MapControl) vista.getMapControl(); |
53 |
CADExtension.getEditionManager().setMapControl(mapControl); |
|
52 | 54 |
ProjectView model = vista.getModel(); |
53 | 55 |
FMap mapa = model.getMapContext(); |
54 | 56 |
FLayers layers = mapa.getLayers(); |
Also available in: Unified diff