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

Uses of Interface
org.eclipse.compare.patch.IHunk

Packages that use IHunk
org.eclipse.compare.patch Provides support for applying and working with patches. 
 

Uses of IHunk in org.eclipse.compare.patch
 

Methods in org.eclipse.compare.patch that return IHunk
static  IHunk PatchBuilder. createHunk (int start, String[] lines)
          Creates an IHunk instance.
  IHunk[] IFilePatch2. getHunks ()
          Returns all the hunks this file patch contains.
  IHunk[] IFilePatchResult. getRejects ()
          Return the portions of the patch (referred to a hunks) that could not be applied.
 

Methods in org.eclipse.compare.patch with parameters of type IHunk
static  IFilePatch2 PatchBuilder. addHunks ( IFilePatch2 filePatch, IHunk[] toAdd)
          Adds IHunks to a given IFilePatch2 and performs recalculation of all hunks' after positions.
static  IFilePatch2 PatchBuilder. createFilePatch ( IPath oldPath, long oldDate, IPath newPath, long newDate, IHunk[] hunks)
          Creates an IFilePatch2 instance and performs recalculation of all hunks' after positions.
static  IFilePatch2 PatchBuilder. removeHunks ( IFilePatch2 filePatch, IHunk[] toRemove)
          Removes IHunks from a given IFilePatch2 and performs recalculation of all hunks' after positions.
 boolean IHunkFilter. select ( IHunk hunk)
          Returns true if the given hunk should be applied
 


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