RepositoryProviderType.getProjectSetCapability()
to obtain an instance of ProjectSetCapability
instead.public interface IProjectSetSerializer
Modifier and Type | Method and Description |
---|---|
IProject[] |
addToWorkspace(String[] referenceStrings,
String filename,
Object context,
IProgressMonitor monitor)
Deprecated.
For every String in referenceStrings, create in the workspace a
corresponding IProject.
|
String[] |
asReference(IProject[] providerProjects,
Object context,
IProgressMonitor monitor)
Deprecated.
For every IProject in providerProjects, return an opaque
UTF-8 encoded String to act as a reference to that project.
|
String[] asReference(IProject[] providerProjects, Object context, IProgressMonitor monitor) throws TeamException
providerProjects
- an array of projects that the serializer should create
text references forcontext
- a UI context object. This object will either be a
com.ibm.swt.widgets.Shell or it will be null.monitor
- a progress monitorTeamException
addToWorkspace(String[] referenceStrings, String filename, Object context, IProgressMonitor monitor)
IProject[] addToWorkspace(String[] referenceStrings, String filename, Object context, IProgressMonitor monitor) throws TeamException
referenceStrings
- an array of reference strings uniquely identifying the projectsfilename
- the name of the file that the references were read from. This is included
in case the provider needs to deduce relative pathscontext
- a UI context object. This object will either be a
com.ibm.swt.widgets.Shell or it will be null.monitor
- a progress monitorTeamException
asReference(IProject[] providerProjects, Object context, IProgressMonitor monitor)
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.