org.eclipse.xtext.common.types.ui.refactoring
Class JdtRefactoringContext
java.lang.Object
org.eclipse.xtext.ui.refactoring.ui.IRenameElementContext.Impl
org.eclipse.xtext.common.types.ui.refactoring.JdtRefactoringContext
- All Implemented Interfaces:
- IRenameElementContext
public class JdtRefactoringContext
- extends IRenameElementContext.Impl
A IRenameElementContext
for a JDT rename refactoring.
Used when triggering a JDT refactoring from a reference to a JVM element in an Xtext -based language.
- Author:
- Jan Koehnlein - Initial contribution and API
Constructor Summary |
JdtRefactoringContext(org.eclipse.emf.ecore.EObject targetJvmElement,
org.eclipse.jdt.core.IJavaElement javaElement,
org.eclipse.ui.IEditorPart editor,
org.eclipse.jface.viewers.ISelection selection,
XtextResource contextResource,
boolean isRealJvmMember)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdtRefactoringContext
public JdtRefactoringContext(org.eclipse.emf.ecore.EObject targetJvmElement,
org.eclipse.jdt.core.IJavaElement javaElement,
org.eclipse.ui.IEditorPart editor,
org.eclipse.jface.viewers.ISelection selection,
XtextResource contextResource,
boolean isRealJvmMember)
getJavaElement
public org.eclipse.jdt.core.IJavaElement getJavaElement()
isRealJvmElement
public boolean isRealJvmElement()