01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package org.terracotta.dso.views;
05:
06: public class ExcludeWrapper {
07: private InstrumentedClassesWrapper m_parent;
08: private int m_index;
09:
10: ExcludeWrapper(InstrumentedClassesWrapper parent, int index) {
11: m_parent = parent;
12: m_index = index;
13: }
14:
15: void remove() {
16: m_parent.removeExclude(m_index);
17: }
18:
19: InstrumentedClassesWrapper getParent() {
20: return m_parent;
21: }
22:
23: public String toString() {
24: return m_parent.getExcludeArray(m_index);
25: }
26: }
|