Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2010 itemis AG (http://www.itemis.eu) and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html /
 
 package org.eclipse.xtext.ui.refactoring;
 
Stores information on an element to be renamed and elements whose names change as a consequence.

Author(s):
Jan Koehnlein - Initial contribution and API
Holger Schill
public class ElementRenameArguments {
	private final URI targetElementURI;
	private final Map<URIURIoriginal2newElementURIs;
	private final String newName;
			URI targetElementURI,
			String newName,
			IRenameStrategy renameStrategy,
			Map<URIURIoriginal2newElementURIs,
			RefactoringResourceSetProvider resourceSetProvider) {
		this. = newName;
		this. = targetElementURI;
		this. = renameStrategy;
		this. = original2newElementURIs;
		this. = resourceSetProvider;
	}
	}
	public URI getTargetElementURI() {
	}
	public URI getNewElementURI(URI originalElementURI) {
		URI newElementURI = .get(originalElementURI);
		return (newElementURI != null) ? newElementURI : originalElementURI;
	}
	}
	public String getNewName() {
		return ;
	}
	}
New to GrepCode? Check out our FAQ X