org.eclipse.compare.patch
public class WorkspacePatcherUI extends Object
| Constructor and Description |
|---|
WorkspacePatcherUI() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getWorkspacePatchHeader()
Returns a string that must be the first line of a workspace patch (a multi-project patch
that is understood by the Apply Patch wizard).
|
static String |
getWorkspacePatchProjectHeader(IProject project)
Returns the project header that must appear before any patches that apply to that
project.
|
public static String getWorkspacePatchHeader()
getWorkspacePatchProjectHeader().
This snippet outlines how the a workspace patch is to be created:
//Write out workspace patch header stream.println(CompareUI.getWorkspacePatchHeader()); for (int i=0; i
getWorkspacePatchProjectHeader(IProject)public static String getWorkspacePatchProjectHeader(IProject project)
project - project to be patchedgetWorkspacePatchHeader()Guidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.