org.radrails.rails.internal.ui.editors.rhtml
Class RubyExpressionDamagerRepairer

java.lang.Object
  extended byorg.eclipse.jface.text.rules.DefaultDamagerRepairer
      extended byorg.radrails.rails.internal.ui.editors.rhtml.RubyExpressionDamagerRepairer
All Implemented Interfaces:
IEditorPropertyChangeListener, org.eclipse.jface.text.presentation.IPresentationDamager, org.eclipse.jface.text.presentation.IPresentationRepairer

public class RubyExpressionDamagerRepairer
extends org.eclipse.jface.text.rules.DefaultDamagerRepairer
implements IEditorPropertyChangeListener

Damager/repairer for Ruby expression blocks in RHTML files. Uses the preference-specified background color.

Author:
mkent

Method Summary
 void applyPropertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
          Apply the property change as appropriate.
static RubyExpressionDamagerRepairer getInstance()
           
 
Methods inherited from class org.eclipse.jface.text.rules.DefaultDamagerRepairer
createPresentation, getDamageRegion, setDocument
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RubyExpressionDamagerRepairer getInstance()
Returns:
the singleton instance of the damager/repairer

applyPropertyChange

public void applyPropertyChange(org.eclipse.jface.util.PropertyChangeEvent event)
Description copied from interface: IEditorPropertyChangeListener
Apply the property change as appropriate.

Specified by:
applyPropertyChange in interface IEditorPropertyChangeListener
Parameters:
event - the event describing the property change