Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.core.sourcelookup
Interface ISourceContainerTypeDelegate

All Known Subinterfaces:
ISourceContainerType
All Known Implementing Classes:
AbstractSourceContainerTypeDelegate

public interface ISourceContainerTypeDelegate

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.

Since:
3.0
See Also:
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

createSourceContainer

ISourceContainer createSourceContainer(
String memento)
                                       throws 
CoreException
Creates and returns a new source container of this type corresponding to the given memento.

Parameters:
memento - a memento for a source container of this source container type
Returns:
a source container corresponding to the given memento
Throws:
CoreException - if unable to construct a source container based on the given memento

getMemento

String getMemento(
ISourceContainer container)
                  throws 
CoreException
Constructs and returns a memento for the given source container. A memento can be used to reconstruct a source container.

Parameters:
container - The container for which a memento should be created. The container must of this source container type.
Returns:
a memento for the source container
Throws:
CoreException - if unable to create a memento

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire