Revision 41852 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/project/documents/view/toolListeners/snapping/gui/SnapConfig.java
SnapConfig.java | ||
---|---|---|
44 | 44 |
import org.gvsig.fmap.mapcontrol.MapControlLocator; |
45 | 45 |
import org.gvsig.fmap.mapcontrol.MapControlManager; |
46 | 46 |
import org.gvsig.fmap.mapcontrol.tools.snapping.snappers.ISnapper; |
47 |
import org.gvsig.tools.ToolsLocator; |
|
48 |
import org.gvsig.tools.i18n.I18nManager; |
|
47 | 49 |
|
48 | 50 |
/** |
49 | 51 |
* @author fjp |
... | ... | |
243 | 245 |
*/ |
244 | 246 |
private JCheckBox getJChkBoxRefentActive() { |
245 | 247 |
if (jChkBoxRefentActive == null) { |
248 |
I18nManager i18nManager = ToolsLocator.getI18nManager(); |
|
246 | 249 |
jChkBoxRefentActive = new JCheckBox(); |
247 |
jChkBoxRefentActive.setText("Referencia a Objetos Activada:");
|
|
250 |
jChkBoxRefentActive.setText(i18nManager.getTranslation("activate_reference_to_objects"));
|
|
248 | 251 |
jChkBoxRefentActive.setBounds(new java.awt.Rectangle(26,10,418,23)); |
249 | 252 |
} |
250 | 253 |
return jChkBoxRefentActive; |
... | ... | |
314 | 317 |
return getJChkBoxRefentActive().isSelected(); |
315 | 318 |
} |
316 | 319 |
|
317 |
|
|
318 |
public void selectSnappers() { |
|
320 |
|
|
321 |
public void selectSnappers() {
|
|
319 | 322 |
for (int i=0;i<mapControlManager.getSnapperCount();i++) { |
320 | 323 |
getTableModel().setValueAt(mapControlManager.getSnapperAt(i).isEnabled(),i,0); |
321 | 324 |
} |
Also available in: Unified diff