Revision 6513 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/ViewControls.java
ViewControls.java | ||
---|---|---|
97 | 97 |
NotificationManager.addError("Error obteniendo el full extent", |
98 | 98 |
e); |
99 | 99 |
} |
100 |
} else if (s.equals("SELECTIONBYSHAPE") ) { |
|
101 |
SelectionByTheme dlg = new SelectionByTheme(); |
|
102 |
//FLayer[] layers = mapa.getLayers().getActives(); |
|
103 |
//int count = 0; |
|
104 |
dlg.setModel(new DefaultSelectionByThemeModel()); |
|
105 |
dlg.addSelectionListener(new MySelectionByThemeListener()); |
|
106 |
PluginServices.getMDIManager().addView(dlg); |
|
107 | 100 |
} else if (s.equals("ENCUADRE") ) { |
108 | 101 |
FPanelExtentSelector l = new FPanelExtentSelector(); |
109 | 102 |
|
... | ... | |
130 | 123 |
mapCtrl.setTool("medicion"); |
131 | 124 |
} else if (s.equals("AREA") ) { |
132 | 125 |
mapCtrl.setTool("area"); |
133 |
} else if (s.equals("SELRECT") ) { |
|
134 |
mapCtrl.setTool("rectSelection"); |
|
135 |
} else if (s.equals("SELPOINT") ) { |
|
136 |
mapCtrl.setTool("pointSelection"); |
|
137 | 126 |
} else if (s.equals("CAPAS_VISIBLES") ) { |
138 | 127 |
setVisibles(true, mapa); |
139 | 128 |
} else if (s.equals("CAPAS_NOVISIBLES") ) { |
Also available in: Unified diff