Revision 141 branches/usability_v2/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/fframes/gui/dialogs/FFrameViewDialog.java
FFrameViewDialog.java | ||
---|---|---|
145 | 145 |
jContentPane.add(getTEscalaNumerica(), null); |
146 | 146 |
jContentPane.add(getLExtension(), null); |
147 | 147 |
jContentPane.add(getCbExtension(), null); |
148 |
jContentPane.add(getLVisualizacion(), null); |
|
149 |
jContentPane.add(getCbVisualizacion(), null); |
|
150 | 148 |
jContentPane.add(getLCalidad(), null); |
151 | 149 |
jContentPane.add(getCbCalidad(), null); |
152 | 150 |
jContentPane.add(getbAceptar(), null); |
... | ... | |
452 | 450 |
} |
453 | 451 |
|
454 | 452 |
/** |
455 |
* This method initializes jLabel4 |
|
456 |
* |
|
457 |
* @return javax.swing.JLabel |
|
458 |
*/ |
|
459 |
private javax.swing.JLabel getLVisualizacion() { |
|
460 |
if (lVisualizacion == null) { |
|
461 |
lVisualizacion = new javax.swing.JLabel(); |
|
462 |
lVisualizacion.setSize(86, 16); |
|
463 |
lVisualizacion.setText(PluginServices |
|
464 |
.getText(this, "visualizacion")); |
|
465 |
lVisualizacion.setLocation(10, 180); |
|
466 |
lVisualizacion.setVisible(false); |
|
467 |
} |
|
468 |
|
|
469 |
return lVisualizacion; |
|
470 |
} |
|
471 |
|
|
472 |
/** |
|
473 |
* This method initializes cbVisualizacion |
|
474 |
* |
|
475 |
* @return javax.swing.JComboBox |
|
476 |
*/ |
|
477 |
private javax.swing.JComboBox getCbVisualizacion() { |
|
478 |
if (cbVisualizacion == null) { |
|
479 |
// String[] s={"Cuando activo","Siempre"}; |
|
480 |
cbVisualizacion = new javax.swing.JComboBox(); |
|
481 |
cbVisualizacion.setSize(220, 20); |
|
482 |
cbVisualizacion.addItem(PluginServices.getText(this, |
|
483 |
"cuando_activo")); |
|
484 |
cbVisualizacion.addItem(PluginServices.getText(this, "siempre")); |
|
485 |
cbVisualizacion.setSelectedIndex(fframeview.getViewing()); |
|
486 |
cbVisualizacion.setPreferredSize(new java.awt.Dimension(200, 20)); |
|
487 |
cbVisualizacion.setLocation(100, 180); |
|
488 |
cbVisualizacion.setEnabled(false); |
|
489 |
cbVisualizacion.setVisible(false); |
|
490 |
} |
|
491 |
|
|
492 |
return cbVisualizacion; |
|
493 |
} |
|
494 |
|
|
495 |
/** |
|
496 | 453 |
* This method initializes jButton |
497 | 454 |
* |
498 | 455 |
* @return javax.swing.JButton |
... | ... | |
525 | 482 |
// fframeview.setFMap(m_projectView.getMapContext()); |
526 | 483 |
newFFrameView.setExtension(getCbExtension() |
527 | 484 |
.getSelectedIndex()); |
528 |
newFFrameView.setViewing(getCbVisualizacion() |
|
529 |
.getSelectedIndex()); |
|
530 | 485 |
newFFrameView.setQuality(getCbCalidad() |
531 | 486 |
.getSelectedIndex()); |
532 | 487 |
if (fframeview.getGrid() != null) { |
Also available in: Unified diff