Class AbstractSourceContainerBrowser
java.lang.Object
org.eclipse.debug.ui.sourcelookup.AbstractSourceContainerBrowser
- All Implemented Interfaces:
- ISourceContainerBrowser
Common implementation for source container browsers.
 
 Clients implementing ISourceContainerBrowser should
 subclass this class.
 
- Since:
- 3.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddSourceContainers(Shell shell, ISourceLookupDirector director) Creates and returns new source containers to add to the given source lookup director.booleancanAddSourceContainers(ISourceLookupDirector director) Returns whether this browser can add any source containers to the given source lookup director.booleancanEditSourceContainers(ISourceLookupDirector director, ISourceContainer[] containers) Returns whether this browser can edit the given source containers.editSourceContainers(Shell shell, ISourceLookupDirector director, ISourceContainer[] containers) Edits and returns source containers to replace the given source containers.
- 
Constructor Details- 
AbstractSourceContainerBrowserpublic AbstractSourceContainerBrowser()
 
- 
- 
Method Details- 
addSourceContainersDescription copied from interface:ISourceContainerBrowserCreates and returns new source containers to add to the given source lookup director.- Specified by:
- addSourceContainersin interface- ISourceContainerBrowser
- Parameters:
- shell- the shell to use to parent any dialogs
- director- the director the new containers will be added to
- Returns:
- the new source containers to add
 
- 
canAddSourceContainersDescription copied from interface:ISourceContainerBrowserReturns whether this browser can add any source containers to the given source lookup director.- Specified by:
- canAddSourceContainersin interface- ISourceContainerBrowser
- Parameters:
- director- source lookup director to potentially add source containers to
- Returns:
- whether this browser can add any source containers to the given source lookup director
 
- 
editSourceContainerspublic ISourceContainer[] editSourceContainers(Shell shell, ISourceLookupDirector director, ISourceContainer[] containers) Description copied from interface:ISourceContainerBrowserEdits and returns source containers to replace the given source containers.- Specified by:
- editSourceContainersin interface- ISourceContainerBrowser
- Parameters:
- shell- the shell to use to parent any dialogs
- director- the director the new containers will be added to
- containers- the source containers to be edited
- Returns:
- the replacement source containers
 
- 
canEditSourceContainerspublic boolean canEditSourceContainers(ISourceLookupDirector director, ISourceContainer[] containers) Description copied from interface:ISourceContainerBrowserReturns whether this browser can edit the given source containers.- Specified by:
- canEditSourceContainersin interface- ISourceContainerBrowser
- Parameters:
- director- source lookup director to potentially edit source containers for
- containers- the containers to edit
- Returns:
- whether this browser can edit the given source containers
 
 
-