|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A source container type delegate represents a kind of container of source code.
For example, a source container type may be a project or a directory. A specific
project or directory is represented by an instance of a source container type,
which is called a source container (ISourceContainer
).
A source container type delegate is contributed via the
sourceContainerTypes
extension point.
Clients may implement this interface.
ISourceContainer
,
ISourceContainerType
Method Summary | |
---|---|
ISourceContainer |
createSourceContainer(String memento)
Creates and returns a new source container of this type corresponding to the given memento. |
String |
getMemento(ISourceContainer container)
Constructs and returns a memento for the given source container. |
Method Detail |
public ISourceContainer createSourceContainer(String memento) throws CoreException
memento
- a memento for a source conatiner of this source container type
CoreException
- if unable to construct a source container based
on the given mementopublic String getMemento(ISourceContainer container) throws CoreException
container
- The container for which a memento should be created. The
container must of this source container type.
CoreException
- if unable to create a memento
|
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.