Author: scabanovich
Date: 2007-08-02 03:49:36 -0400 (Thu, 02 Aug 2007)
New Revision: 2830
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/refactoring/JSFRenamePathDiagramChange.java
Log:
Reference to obsolete class FileAntImpl removed
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/refactoring/JSFRenamePathDiagramChange.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/refactoring/JSFRenamePathDiagramChange.java 2007-08-02
07:49:29 UTC (rev 2829)
+++
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/handlers/refactoring/JSFRenamePathDiagramChange.java 2007-08-02
07:49:36 UTC (rev 2830)
@@ -14,8 +14,8 @@
import org.eclipse.core.runtime.*;
import org.eclipse.ltk.core.refactoring.*;
-import org.jboss.tools.common.ant.model.FileAntImpl;
import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.filesystems.impl.FileAnyImpl;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.jsf.messages.JSFUIMessages;
@@ -23,8 +23,8 @@
static String getName(XModelObject config) {
String n = config.getAttributeValue("name");
- if(config instanceof FileAntImpl) {
- n = FileAntImpl.toFileName(config);
+ if(config instanceof FileAnyImpl) {
+ n = FileAnyImpl.toFileName(config);
}
IResource r = EclipseResourceUtil.getResource(config);
if(r != null && r.getParent() != null) {
Show replies by date