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()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.