org.eclipse.emf.ecore.xcore.ui.quickfix
Class XcoreQuickfixProvider.RemovalRegion

java.lang.Object
  extended by org.eclipse.emf.ecore.xcore.ui.quickfix.XcoreQuickfixProvider.RemovalRegion
Enclosing class:
XcoreQuickfixProvider

public static class XcoreQuickfixProvider.RemovalRegion
extends java.lang.Object


Field Summary
protected  int begin
           
protected  int deleteBegin
           
protected  int deleteEnd
           
protected  int end
           
protected  java.lang.String replacement
           
protected  org.eclipse.xtext.ui.editor.model.IXtextDocument xtextDocument
           
 
Constructor Summary
XcoreQuickfixProvider.RemovalRegion(org.eclipse.xtext.ui.editor.model.IXtextDocument xtextDocument, EObject eObject)
           
 
Method Summary
 int getBegin()
           
protected  int getBeginOffset(org.eclipse.xtext.nodemodel.INode node)
           
 int getDeleteBegin()
           
 int getDeleteEnd()
           
 int getEnd()
           
protected  int getEndOffset(org.eclipse.xtext.nodemodel.INode node)
           
protected  int getLineBeginOffsetOfOffset(int offset)
           
protected  int getLineEndOffsetOfOffset(int offset)
           
 java.lang.String getReplacement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xtextDocument

protected org.eclipse.xtext.ui.editor.model.IXtextDocument xtextDocument

begin

protected int begin

end

protected int end

deleteBegin

protected int deleteBegin

deleteEnd

protected int deleteEnd

replacement

protected java.lang.String replacement
Constructor Detail

XcoreQuickfixProvider.RemovalRegion

public XcoreQuickfixProvider.RemovalRegion(org.eclipse.xtext.ui.editor.model.IXtextDocument xtextDocument,
                                           EObject eObject)
                                    throws BadLocationException
Throws:
BadLocationException
Method Detail

getBegin

public int getBegin()

getEnd

public int getEnd()

getDeleteBegin

public int getDeleteBegin()

getDeleteEnd

public int getDeleteEnd()

getReplacement

public java.lang.String getReplacement()

getLineBeginOffsetOfOffset

protected int getLineBeginOffsetOfOffset(int offset)
                                  throws BadLocationException
Throws:
BadLocationException

getLineEndOffsetOfOffset

protected int getLineEndOffsetOfOffset(int offset)
                                throws BadLocationException
Throws:
BadLocationException

getBeginOffset

protected int getBeginOffset(org.eclipse.xtext.nodemodel.INode node)
                      throws BadLocationException
Throws:
BadLocationException

getEndOffset

protected int getEndOffset(org.eclipse.xtext.nodemodel.INode node)
                    throws BadLocationException
Throws:
BadLocationException

Copyright 2001-2012 IBM Corporation and others.
All Rights Reserved.