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.compare.patch
Class WorkspacePatcherUI

java.lang.Object
  extended by 
org.eclipse.compare.patch.WorkspacePatcherUI

public class WorkspacePatcherUI
extends Object

Provides the headers required to create a workspace patch.

Since:
3.2
Restriction:
This class is not intended to be subclassed by clients.
Restriction:
This class is not intended to be instantiated by clients.

Constructor Summary
WorkspacePatcherUI ()
           
 
Method Summary
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.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkspacePatcherUI

public WorkspacePatcherUI()
Method Detail

getWorkspacePatchHeader

public 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). Each project to be included in the patch must be prefixed by the line obtained from the 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

Returns:
String
Since:
3.2
See Also:
getWorkspacePatchProjectHeader(IProject)

getWorkspacePatchProjectHeader

public static 
String getWorkspacePatchProjectHeader(
IProject project)
Returns the project header that must appear before any patches that apply to that project. All patches that are encountered after this header and before the next header are understood to belong the the project.

Parameters:
project - project to be patched
Returns:
String
Since:
3.2
See Also:
getWorkspacePatchHeader()

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