commit | 23fb13539eef2d61e4371a497938994944fc0f27 | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Mon Apr 11 12:15:19 2016 -0700 |
committer | Simon Hunt <simon@onlab.us> | Mon Apr 11 12:17:50 2016 -0700 |
tree | 73af83aa8fb9dc68a8717e042cf82c10c47212df | |
parent | fd176613489b8037c8bde50838adca24bdb0af4a [diff] [blame] |
Started fleshing out the UI topo model classes. If reviewing this, please refer to http://tinyurl.com/onos-ui-topo-model Change-Id: I4738392bec1a89c37dff15eff6fe04d66fcabd95
diff --git a/core/api/src/main/java/org/onosproject/ui/model/topo/UiElement.java b/core/api/src/main/java/org/onosproject/ui/model/topo/UiElement.java index 4f2f9cb..5e6144d 100644 --- a/core/api/src/main/java/org/onosproject/ui/model/topo/UiElement.java +++ b/core/api/src/main/java/org/onosproject/ui/model/topo/UiElement.java
@@ -20,4 +20,12 @@ * Abstract base class of all elements in the UI topology model. */ public class UiElement { + + /** + * Removes all external references, and prepares the instance for + * garbage collection. This default implementation does nothing. + */ + protected void destroy() { + // does nothing + } }