org.eclipse.xtext.ui.refactoring.ui
Class ViewFreezer

java.lang.Object
  extended by org.eclipse.xtext.ui.refactoring.ui.ViewFreezer

public class ViewFreezer
extends java.lang.Object

Renders the current editor to a picture that hides the nifty details going on in the documents when the refactoring changes are applied. Same mechanism as in JDT.

Author:
Holger Schill - Initial contribution and API

Field Summary
protected  org.eclipse.swt.graphics.Image image
           
protected  org.eclipse.swt.widgets.Label label
           
protected  org.eclipse.jface.text.source.ISourceViewer sourceViewer
           
 
Constructor Summary
ViewFreezer(org.eclipse.jface.text.source.ISourceViewer viewer)
           
 
Method Summary
 void freeze()
           
 void release()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceViewer

protected org.eclipse.jface.text.source.ISourceViewer sourceViewer

image

protected org.eclipse.swt.graphics.Image image

label

protected org.eclipse.swt.widgets.Label label
Constructor Detail

ViewFreezer

public ViewFreezer(org.eclipse.jface.text.source.ISourceViewer viewer)
Method Detail

freeze

public void freeze()

release

public void release()