1 11 package org.eclipse.debug.internal.ui.elements.adapters; 12 13 import org.eclipse.core.runtime.CoreException; 14 import org.eclipse.debug.internal.ui.viewers.provisional.AsynchronousContentAdapter; 15 import org.eclipse.debug.internal.ui.viewers.provisional.IPresentationContext; 16 import org.eclipse.debug.ui.IDebugUIConstants; 17 18 public class ProcessContentAdapter extends AsynchronousContentAdapter { 19 20 protected Object [] getChildren(Object parent, IPresentationContext context) throws CoreException { 21 return EMPTY; 22 } 23 24 protected boolean hasChildren(Object element, IPresentationContext context) throws CoreException { 25 return false; 26 } 27 28 protected boolean supportsPartId(String id) { 29 return IDebugUIConstants.ID_DEBUG_VIEW.equals(id); 30 } 31 } 32 | Popular Tags |