Author: scabanovich
Date: 2012-01-17 20:56:00 -0500 (Tue, 17 Jan 2012)
New Revision: 37932
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/BundleBasenameHyperlink.java
Log:
JBIDE-10393
https://issues.joss.org/browse/JBIDE-10393
Fixed event handling for the case of folder added to classpath.
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/BundleBasenameHyperlink.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/BundleBasenameHyperlink.java 2012-01-18
01:55:18 UTC (rev 37931)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/BundleBasenameHyperlink.java 2012-01-18
01:56:00 UTC (rev 37932)
@@ -39,6 +39,7 @@
import org.jboss.tools.common.text.ext.util.StructuredModelWrapper;
import org.jboss.tools.common.text.ext.util.Utils;
import org.jboss.tools.jsf.model.FileFacesConfigImpl;
+import org.jboss.tools.jsf.model.pv.JSFProjectTreeConstants;
import org.jboss.tools.jsf.model.pv.JSFProjectsRoot;
import org.jboss.tools.jsf.model.pv.JSFProjectsTree;
import org.jboss.tools.jsf.text.ext.JSFExtensionsPlugin;
@@ -97,7 +98,7 @@
if (jsfProjectsRoot == null)
return null;
- XModelObject rbObjects = jsfProjectsRoot.getChildByPath("Resource Bundles");
//$NON-NLS-1$
+ XModelObject rbObjects =
jsfProjectsRoot.getChildByPath(JSFProjectTreeConstants.RESOURCE_BUNDLES);
if (!(rbObjects instanceof WebProjectNode))
return null;