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.link
Class InclusivePositionUpdater


java.lang.Object
  extended by 
org.eclipse.jface.text.link.InclusivePositionUpdater
All Implemented Interfaces:
IPositionUpdater

public class InclusivePositionUpdater
extends Object
implements IPositionUpdater

Position updater that considers any change in [p.offset, p.offset + p.length] of a Position p as belonging to the position.

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

Constructor Summary
InclusivePositionUpdater ( String category)
          Creates a new updater for the given category.
 
Method Summary
  String getCategory ()
          Returns the position category.
 void update ( DocumentEvent event)
          Adapts positions to the change specified by the document event.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InclusivePositionUpdater

public InclusivePositionUpdater(
String category)
Creates a new updater for the given category.

Parameters:
category - the new category.
Method Detail

update

public void update(
DocumentEvent event)
Description copied from interface: IPositionUpdater
Adapts positions to the change specified by the document event. It is ensured that the document's partitioning has been adapted to this document change and that all the position updaters which have a smaller index in the document's position updater list have been called.

Specified by:
update in interface IPositionUpdater
Parameters:
event - the document event describing the document change

getCategory

public 
String getCategory()
Returns the position category.

Returns:
the position category

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