Author: scabanovich
Date: 2009-01-23 10:37:57 -0500 (Fri, 23 Jan 2009)
New Revision: 13244
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/PagesEditor.java
Log:
JBIDE-3564
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/PagesEditor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/PagesEditor.java 2009-01-23
15:27:30 UTC (rev 13243)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/PagesEditor.java 2009-01-23
15:37:57 UTC (rev 13244)
@@ -605,7 +605,7 @@
if(fileXML == null || !object.getPath().startsWith(fileXML.getPath())) {
return;
}
- if(!diagramXML.getPath().startsWith(object.getPath())) {
+ if(!object.getPath().startsWith(diagramXML.getPath())) {
object = SelectOnDiagramHandler.getItemOnDiagram(object);
if(object == null) return;
}