public class AbstractSourceContainerBrowser extends Object implements ISourceContainerBrowser
Clients implementing ISourceContainerBrowser should
subclass this class.
| Constructor and Description |
|---|
AbstractSourceContainerBrowser() |
| Modifier and Type | Method and Description |
|---|---|
ISourceContainer[] |
addSourceContainers(Shell shell,
ISourceLookupDirector director)
Creates and returns new source containers to add to the given
source lookup director.
|
boolean |
canAddSourceContainers(ISourceLookupDirector director)
Returns whether this browser can add any source containers to the
given source lookup director.
|
boolean |
canEditSourceContainers(ISourceLookupDirector director,
ISourceContainer[] containers)
Returns whether this browser can edit the given source containers.
|
ISourceContainer[] |
editSourceContainers(Shell shell,
ISourceLookupDirector director,
ISourceContainer[] containers)
Edits and returns source containers to replace the given source
containers.
|
public ISourceContainer[] addSourceContainers(Shell shell, ISourceLookupDirector director)
ISourceContainerBrowseraddSourceContainers in interface ISourceContainerBrowsershell - the shell to use to parent any dialogsdirector - the director the new containers will be added topublic boolean canAddSourceContainers(ISourceLookupDirector director)
ISourceContainerBrowsercanAddSourceContainers in interface ISourceContainerBrowserdirector - source lookup director to potentially add source
containers topublic ISourceContainer[] editSourceContainers(Shell shell, ISourceLookupDirector director, ISourceContainer[] containers)
ISourceContainerBrowsereditSourceContainers in interface ISourceContainerBrowsershell - the shell to use to parent any dialogsdirector - the director the new containers will be added tocontainers - the source containers to be editedpublic boolean canEditSourceContainers(ISourceLookupDirector director, ISourceContainer[] containers)
ISourceContainerBrowsercanEditSourceContainers in interface ISourceContainerBrowserdirector - source lookup director to potentially edit source
containers forcontainers - the containers to editGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.