[jbosstools-commits] JBoss Tools SVN: r6641 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Thu Feb 28 10:22:31 EST 2008
Author: dgeraskov
Date: 2008-02-28 10:22:31 -0500 (Thu, 28 Feb 2008)
New Revision: 6641
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/JavaCompletionProcessor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1827
Use console configuration instead it name to find JavaProject
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/JavaCompletionProcessor.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/JavaCompletionProcessor.java 2008-02-28 14:21:12 UTC (rev 6640)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/criteriaeditor/JavaCompletionProcessor.java 2008-02-28 15:22:31 UTC (rev 6641)
@@ -93,7 +93,7 @@
String prefix = "Session session;"; // has to do this because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=141518
try {
- IJavaProject javaProject = ProjectUtils.findJavaProject( editor.getConsoleConfiguration().getName() );
+ IJavaProject javaProject = ProjectUtils.findJavaProject( editor.getConsoleConfiguration() );
collector = new CompletionProposalCollector( javaProject );
collector.acceptContext( new CompletionContext() );
More information about the jbosstools-commits
mailing list