blob: 2ed884c801b3f7351bf3eaf28c9e8fcf5aaf1743 [file] [log] [blame]
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();
}
}