1 11 package org.eclipse.ltk.core.refactoring.participants; 12 13 import org.eclipse.core.runtime.Assert; 14 15 24 public class MoveArguments extends RefactoringArguments { 25 26 private Object fDestination; 27 private boolean fUpdateReferences; 28 29 36 public MoveArguments(Object destination, boolean updateReferences) { 37 Assert.isNotNull(destination); 38 fDestination= destination; 39 fUpdateReferences= updateReferences; 40 } 41 42 47 public Object getDestination() { 48 return fDestination; 49 } 50 51 57 public boolean getUpdateReferences() { 58 return fUpdateReferences; 59 } 60 61 66 public String toString() { 67 return "move to " + fDestination.toString() + (fUpdateReferences ? " (update references)" : " (don't update references)"); } 70 } 71 | Popular Tags |