Skip to main content
summaryrefslogtreecommitdiffstats
blob: 2ed884c801b3f7351bf3eaf28c9e8fcf5aaf1743 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package org.eclipse.debug.internal.ui;

/*
 * Licensed Materials - Property of IBM,
 * WebSphere Studio Workbench
 * (c) Copyright IBM Corp 2001
 */

import org.eclipse.core.runtime.PlatformObject;
import java.util.List;
import java.util.Vector;

public class InspectorList extends PlatformObject {

	protected Vector fInspectorList;

	/**
	 * @see IAdaptable
	 */
	public Object getAdapter(Class adapter) {
		if (adapter == InspectItem.class) {
			return this;
		}
		return super.getAdapter(adapter);
	}
	
	public InspectorList(int initialCapacity) {
		fInspectorList= new Vector(initialCapacity);
	}
	
	public List getList() {
		return fInspectorList;
	}
	
	public boolean isEmpty() {
		return fInspectorList.isEmpty();
	}
}

Back to the top