Author: scabanovich
Date: 2010-01-19 12:26:59 -0500 (Tue, 19 Jan 2010)
New Revision: 19815
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ResourceLabelProvider.java
Log:
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ResourceLabelProvider.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ResourceLabelProvider.java 2010-01-19
17:16:49 UTC (rev 19814)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/project/ResourceLabelProvider.java 2010-01-19
17:26:59 UTC (rev 19815)
@@ -81,7 +81,7 @@
if(filename.startsWith("struts-")) return "StrutsConfig11";
//$NON-NLS-1$ //$NON-NLS-2$
return "FileXML"; //$NON-NLS-1$
}
- String entity = model.getEntityRecognizer().getEntityName(ext, null);
+ String entity = model.getEntityRecognizer().getEntityName(filename, ext, null);
if(entity == null) entity = "FileTXT"; //$NON-NLS-1$
return entity;
}