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
Answertopia.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.jface.text.source
Interface IAnnotationModelExtension2

All Known Implementing Classes:
AbstractMarkerAnnotationModel, AnnotationModel, ProjectionAnnotationModel, ResourceMarkerAnnotationModel

public interface IAnnotationModelExtension2

Extends IAnnotationModel with the ability to retrieve a set of annotations within a given region.

Since:
3.4

Method Summary
  Iterator getAnnotationIterator (int offset, int length, boolean canStartBefore, boolean canEndAfter)
          Returns an iterator over all annotations managed by this model that are inside the given region.
 

Method Detail

getAnnotationIterator


Iterator getAnnotationIterator(int offset,
                               int length,
                               boolean canStartBefore,
                               boolean canEndAfter)
Returns an iterator over all annotations managed by this model that are inside the given region.

Parameters:
offset - the start position of the region, must be >= 0
length - the length of the region, must be >= 0
canStartBefore - if true then annotations are included which start before the region if they end at or after the region's start
canEndAfter - if true then annotations are included which end after the region if they start at or before the region's end
Returns:
all annotations inside the region managed by this model (element type: Annotation)

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