|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.team.core.ProjectSetSerializationContext
public class ProjectSetSerializationContext
The context in which project serialization occurs. The class may be subclassed to represent different serialization contexts.
| Constructor Summary | |
|---|---|
ProjectSetSerializationContext()
Create a serialization context with no filename |
|
ProjectSetSerializationContext(String filename)
Create a serialization context and set the filename of the file that does or is to contain the project set. |
|
| Method Summary | |
|---|---|
IProject[] |
confirmOverwrite(IProject[] projects)
Given an array of projects that currently exist in the workspace determine which of those projects should be overwritten. |
String |
getFilename()
Return the name of the file to or from which the project set is being loaded or saved. |
Object |
getShell()
Return a org.eclipse.swt.Shell if there is a UI context or null if executing headless. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectSetSerializationContext()
public ProjectSetSerializationContext(String filename)
filename - a filename or null| Method Detail |
|---|
public IProject[] confirmOverwrite(IProject[] projects)
throws TeamException
This default implementation always returns an empty array indicating that no existing projects should be overwritten. Subclasses may override this as appropriate.
projects - an array of projects currently existing in the workspace
that are desired to be overwritten.
(not null, contains no nulls)
null if the operation is to be canceled
TeamExceptionpublic Object getShell()
null if executing headless.
nullpublic String getFilename()
null.
null
|
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.