|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISourceContainerBrowser
Creates and edits source containers for a source lookup director. Contributed via a source container presentation extension for a specific type of source container.
Following is an example source container presentation definition
that contributes a source container browser via the
browserClass attribute.
<extension point="org.eclipse.debug.ui.sourceContainerPresentations">
<sourceContainerPresentation
browserClass="org.eclipse.debug.internal.ui.sourcelookup.browsers.ProjectSourceContainerBrowser"
containerTypeID="org.eclipse.debug.core.containerType.project"
icon="icons/full/obj16/prj_obj.gif"
id="org.eclipse.debug.ui.containerPresentation.project">
</sourceContainerPresentation>
</extension>
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
ISourceContainer[] addSourceContainers(Shell shell,
ISourceLookupDirector director)
shell - the shell to use to parent any dialogsdirector - the director the new containers will be added to
boolean canAddSourceContainers(ISourceLookupDirector director)
director - source lookup director to potentially add source
containers to
ISourceContainer[] editSourceContainers(Shell shell,
ISourceLookupDirector director,
ISourceContainer[] containers)
shell - the shell to use to parent any dialogsdirector - the director the new containers will be added tocontainers - the source containers to be edited
boolean canEditSourceContainers(ISourceLookupDirector director,
ISourceContainer[] containers)
director - source lookup director to potentially edit source
containers forcontainers - the containers to edit
|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.