Package org.eclipse.ltk.core.refactoring.resource

Examples of org.eclipse.ltk.core.refactoring.resource.MoveResourceChange


    if ( renamedElement != null ) {
      String path = renamedElement.getProjectRelativePath().toString();
      String correspondingOldFXMLPath = path.substring( 0, path.length() - "fxgraph".length() ) + "fxml";
      IResource correspondingOldFXML = renamedElement.getProject().findMember( correspondingOldFXMLPath );
      if ( correspondingOldFXML.exists() ) {
        return new MoveResourceChange( correspondingOldFXML, ( (IContainer) getArguments().getDestination() ) );
      }
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ltk.core.refactoring.resource.MoveResourceChange

Copyright © 2018 www.massapicom. 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.