Examples of IReferenceUpdating


Examples of org.eclipse.dltk.internal.corext.refactoring.tagging.IReferenceUpdating

    if (newName != null) {
      ((INameUpdating) refactoring.getAdapter(INameUpdating.class)).setNewElementName(newName);
    }

    IReferenceUpdating reference = (IReferenceUpdating) refactoring.getAdapter(IReferenceUpdating.class);
    if (reference != null) {
      reference.setUpdateReferences((flags & UPDATE_REFERENCES) != 0);
    }

    ITextUpdating text = (ITextUpdating) refactoring.getAdapter(ITextUpdating.class);
    if (text != null) {
      text.setUpdateTextualMatches((flags & UPDATE_TEXTUAL_MATCHES) != 0);
View Full Code Here

Examples of org.eclipse.jdt.internal.corext.refactoring.tagging.IReferenceUpdating

      return null;
    }

    processor.setNewElementName(name);
    if (processor instanceof IReferenceUpdating) {
      IReferenceUpdating reference = (IReferenceUpdating)processor;
      reference.setUpdateReferences((flags & RenameSupport.UPDATE_REFERENCES) != 0);
    }

    if (processor instanceof ITextUpdating) {
      ITextUpdating text = (ITextUpdating)processor;
      @SuppressWarnings("deprecation")
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.