Revision 1350 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/Table.java
Table.java | ||
---|---|---|
61 | 61 |
import com.iver.andami.messages.NotificationManager; |
62 | 62 |
import com.iver.andami.ui.mdiManager.SingletonView; |
63 | 63 |
import com.iver.andami.ui.mdiManager.ViewInfo; |
64 |
import com.iver.andami.ui.mdiManager.ViewListener; |
|
64 | 65 |
import com.iver.cit.gvsig.fmap.FMap; |
65 | 66 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
66 | 67 |
import com.iver.cit.gvsig.fmap.layers.SelectableDataSource; |
... | ... | |
74 | 75 |
* |
75 | 76 |
* @author Fernando Gonz?lez Cort?s |
76 | 77 |
*/ |
77 |
public class Table extends JPanel implements SingletonView { |
|
78 |
public class Table extends JPanel implements SingletonView, ViewListener {
|
|
78 | 79 |
private static Logger logger = Logger.getLogger(Table.class.getName()); |
79 | 80 |
private javax.swing.JScrollPane jScrollPane = null; |
80 | 81 |
private javax.swing.JTable table = null; |
... | ... | |
365 | 366 |
} |
366 | 367 |
|
367 | 368 |
} |
369 |
|
|
370 |
/** |
|
371 |
* @see com.iver.andami.ui.mdiManager.ViewListener#viewClosed() |
|
372 |
*/ |
|
373 |
public void viewClosed() { |
|
374 |
try { |
|
375 |
getModel().getModelo().stop(); |
|
376 |
} catch (DriverException e) { |
|
377 |
e.printStackTrace(); |
|
378 |
} |
|
379 |
} |
|
368 | 380 |
} |
Also available in: Unified diff