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

Last change on this file since 7898 was 6380, checked in by Don-vip, 10 years ago

update license/copyright information

  • Property svn:eol-style set to native
File size: 476 bytes
Line 
1// License: GPL. For details, see LICENSE file.
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.