|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.debug.ui.sourcelookup.AbstractSourceContainerBrowser
Common implementation for source container browsers.
Clients implementing ISourceContainerBrowser
should
subclass this class.
Constructor Summary | |
---|---|
AbstractSourceContainerBrowser()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractSourceContainerBrowser()
Method Detail |
public ISourceContainer[] addSourceContainers(Shell shell, ISourceLookupDirector director)
ISourceContainerBrowser
addSourceContainers
in interface ISourceContainerBrowser
shell
- the shell to use to parent any dialogsdirector
- the director the new containers will be added to
public boolean canAddSourceContainers(ISourceLookupDirector director)
ISourceContainerBrowser
canAddSourceContainers
in interface ISourceContainerBrowser
director
- source lookup director to potentially add source
containers to
public ISourceContainer[] editSourceContainers(Shell shell, ISourceLookupDirector director, ISourceContainer[] containers)
ISourceContainerBrowser
editSourceContainers
in interface ISourceContainerBrowser
shell
- the shell to use to parent any dialogsdirector
- the director the new containers will be added tocontainers
- the source containers to be edited
public boolean canEditSourceContainers(ISourceLookupDirector director, ISourceContainer[] containers)
ISourceContainerBrowser
canEditSourceContainers
in interface ISourceContainerBrowser
director
- source lookup director to potentially edit source
containers forcontainers
- the containers to edit
|
Eclipse Platform Release 3.1 |
|||||||||||
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, 2005. All rights reserved.