1 11 package org.eclipse.jdt.internal.corext.refactoring.base; 12 13 import org.eclipse.core.runtime.Assert; 14 15 import org.eclipse.jdt.core.ISourceRange; 16 17 import org.eclipse.ltk.core.refactoring.RefactoringStatusContext; 18 19 24 public class JavaStringStatusContext extends RefactoringStatusContext { 25 26 private String fSource; 27 private ISourceRange fSourceRange; 28 29 36 public JavaStringStatusContext(String source, ISourceRange range){ 37 Assert.isNotNull(source); 38 fSource= source; 39 fSourceRange= range; 40 } 41 42 public String getSource() { 43 return fSource; 44 } 45 46 public ISourceRange getSourceRange() { 47 return fSourceRange; 48 } 49 50 53 public Object getCorrespondingElement() { 54 return null; 55 } 56 } 57 | Popular Tags |