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.rules
Class RuleBasedDamagerRepairer


java.lang.Object
  extended by 

org.eclipse.jface.text.rules.DefaultDamagerRepairer
      extended by 
org.eclipse.jface.text.rules.RuleBasedDamagerRepairer
All Implemented Interfaces:
IPresentationDamager, IPresentationRepairer

Deprecated. use DefaultDamagerRepairer

public class RuleBasedDamagerRepairer
extends DefaultDamagerRepairer


Field Summary
 
Fields inherited from class org.eclipse.jface.text.rules. DefaultDamagerRepairer
fDefaultTextAttribute, fDocument, fScanner
 
Constructor Summary
RuleBasedDamagerRepairer ( RuleBasedScanner scanner)
          Deprecated. Creates a damager/repairer that uses the given scanner.
RuleBasedDamagerRepairer ( RuleBasedScanner scanner, TextAttribute defaultTextAttribute)
          Deprecated. use RuleBasedDamagerRepairer(RuleBasedScanner) instead
 
Method Summary
 
Methods inherited from class org.eclipse.jface.text.rules. DefaultDamagerRepairer
addRange, createPresentation, endOfLineOf, getDamageRegion, getTokenTextAttribute, setDocument
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleBasedDamagerRepairer

public RuleBasedDamagerRepairer(
RuleBasedScanner scanner,
                                
TextAttribute defaultTextAttribute)
Deprecated. use RuleBasedDamagerRepairer(RuleBasedScanner) instead

Creates a damager/repairer that uses the given scanner and returns the given default text attribute if the current token does not carry a text attribute.

Parameters:
scanner - the rule based scanner to be used
defaultTextAttribute - the text attribute to be returned if none is specified by the current token, may not be null

RuleBasedDamagerRepairer

public RuleBasedDamagerRepairer(
RuleBasedScanner scanner)
Deprecated. 
Creates a damager/repairer that uses the given scanner. The scanner may not be null and is assumed to return only token that carry text attributes.

Parameters:
scanner - the rule based scanner to be used, may not be null
Since:
2.0

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