Revision 9532 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/gui/dialogs/FBorderDialog.java
FBorderDialog.java | ||
---|---|---|
99 | 99 |
private String m_NameUnit = null; |
100 | 100 |
private javax.swing.JButton bConfigurar = null; |
101 | 101 |
GeometryAdapter geometry=new RectangleAdapter(); |
102 |
private boolean isAccepted=false; |
|
102 | 103 |
|
103 | 104 |
/** |
104 | 105 |
* This is the default constructor |
... | ... | |
637 | 638 |
PluginServices.getMDIManager().closeWindow(FBorderDialog.this); |
638 | 639 |
layout.getLayoutControl().setStatus(LayoutControl.DESACTUALIZADO); |
639 | 640 |
layout.getLayoutControl().repaint(); |
641 |
isAccepted=true; |
|
640 | 642 |
} |
641 | 643 |
}); |
642 | 644 |
} |
... | ... | |
657 | 659 |
bCancelar.addActionListener(new java.awt.event.ActionListener() { |
658 | 660 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
659 | 661 |
PluginServices.getMDIManager().closeWindow(FBorderDialog.this); |
662 |
isAccepted=false; |
|
660 | 663 |
} |
661 | 664 |
}); |
662 | 665 |
} |
... | ... | |
729 | 732 |
} |
730 | 733 |
return re; |
731 | 734 |
} |
735 |
public boolean isAccepted() { |
|
736 |
return isAccepted; |
|
737 |
} |
|
732 | 738 |
} |
Also available in: Unified diff