source: josm/trunk/src/org/openstreetmap/josm/tools/Destroyable.java@ 626

Last change on this file since 626 was 626, checked in by framm, 16 years ago
  • ye grande eol style fixe
File size: 479 bytes
Line 
1// License: GPL. Copyright 2007 by Immanuel Scholz and others
2package org.openstreetmap.josm.tools;
3
4/**
5 * Some objects like layers (when they are removed) or the whole map frame (when the last layer has
6 * been removed) have an definite set of actions to execute. This is the "destructor" interface called
7 * on those objects.
8 *
9 * @author immanuel.scholz
10 */
11public interface Destroyable {
12
13 /**
14 * Called when the object has been destroyed.
15 */
16 public void destroy();
17}
Note: See TracBrowser for help on using the repository browser.