1 11 package org.eclipse.debug.ui.sourcelookup; 12 13 import org.eclipse.debug.core.sourcelookup.ISourceContainer; 14 import org.eclipse.debug.core.sourcelookup.ISourceLookupDirector; 15 import org.eclipse.swt.widgets.Shell; 16 17 25 public class AbstractSourceContainerBrowser implements ISourceContainerBrowser { 26 29 public ISourceContainer[] addSourceContainers(Shell shell, ISourceLookupDirector director) { 30 return new ISourceContainer[0]; 31 } 32 39 public boolean canAddSourceContainers(ISourceLookupDirector director) { 40 return true; 41 } 42 45 public ISourceContainer[] editSourceContainers(Shell shell, ISourceLookupDirector director, ISourceContainer[] containers) { 46 return new ISourceContainer[0]; 47 } 48 55 public boolean canEditSourceContainers(ISourceLookupDirector director, ISourceContainer[] containers) { 56 return false; 57 } 58 } 59 | Popular Tags |