Author: snjeza
Date: 2009-04-03 18:03:06 -0400 (Fri, 03 Apr 2009)
New Revision: 14508
Modified:
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateConnection.java
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateOdaQuery.java
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateResultSet.java
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizard.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/WtpUtils.java
Log:
JBIDE-4123 Migration to Eclipse 3.5 M Builds
Modified:
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateConnection.java
===================================================================
---
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateConnection.java 2009-04-03
22:02:30 UTC (rev 14507)
+++
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateConnection.java 2009-04-03
22:03:06 UTC (rev 14508)
@@ -20,6 +20,8 @@
import org.jboss.tools.birt.oda.Messages;
import org.osgi.framework.Bundle;
+import com.ibm.icu.util.ULocale;
+
/**
* Implementation class of IConnection for an ODA runtime driver.
*
@@ -123,4 +125,10 @@
return odaSessionFactory;
}
+ /* (non-Javadoc)
+ * @see
org.eclipse.datatools.connectivity.oda.IConnection#setLocale(com.ibm.icu.util.ULocale)
+ */
+ public void setLocale(ULocale uLocale) throws OdaException {
+ throw new UnsupportedOperationException();
+ }
}
Modified:
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateOdaQuery.java
===================================================================
---
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateOdaQuery.java 2009-04-03
22:02:30 UTC (rev 14507)
+++
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateOdaQuery.java 2009-04-03
22:03:06 UTC (rev 14508)
@@ -20,7 +20,7 @@
import org.eclipse.datatools.connectivity.oda.IResultSetMetaData;
import org.eclipse.datatools.connectivity.oda.OdaException;
import org.eclipse.datatools.connectivity.oda.SortSpec;
-import org.jboss.tools.birt.oda.Messages;
+import org.eclipse.datatools.connectivity.oda.spec.QuerySpecification;
/**
* Implementation class of IQuery for an ODA runtime driver.
@@ -363,4 +363,36 @@
return connection;
}
+ public void cancel() throws OdaException, UnsupportedOperationException {
+ // TODO
+ throw new UnsupportedOperationException();
+ }
+
+ public String getEffectiveQueryText() {
+ // TODO
+ return null;
+ }
+
+ public QuerySpecification getSpecification() {
+ // TODO
+ return null;
+ }
+
+ public void setObject(String parameterName, Object value)
+ throws OdaException {
+ // TODO
+ throw new UnsupportedOperationException();
+ }
+
+ public void setObject(int parameterId, Object value) throws OdaException {
+ // TODO
+ throw new UnsupportedOperationException();
+ }
+
+ public void setSpecification(QuerySpecification querySpec)
+ throws OdaException, UnsupportedOperationException {
+ // TODO
+ throw new UnsupportedOperationException();
+ }
+
}
Modified:
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateResultSet.java
===================================================================
---
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateResultSet.java 2009-04-03
22:02:30 UTC (rev 14507)
+++
trunk/birt/plugins/org.jboss.tools.birt.oda/src/org/jboss/tools/birt/oda/impl/HibernateResultSet.java 2009-04-03
22:03:06 UTC (rev 14508)
@@ -377,4 +377,12 @@
throw new OdaException(Messages.HibernateResultSet_Cursor_has_not_been_initialized);
}
+ public Object getObject(int index) throws OdaException {
+ return getResult(index);
+ }
+
+ public Object getObject(String columnName) throws OdaException {
+ return getObject(findColumn(columnName));
+ }
+
}
Modified:
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizard.java
===================================================================
---
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizard.java 2009-04-03
22:02:30 UTC (rev 14507)
+++
trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/wizard/NewProjectExamplesWizard.java 2009-04-03
22:03:06 UTC (rev 14508)
@@ -46,8 +46,8 @@
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.IPackageFragmentRoot;
import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.internal.core.JavaElementInfo;
import org.eclipse.jdt.internal.core.JavaProject;
+import org.eclipse.jdt.internal.core.OpenableElementInfo;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.dialogs.MessageDialogWithToggle;
@@ -442,9 +442,9 @@
IJavaProject javaProject = JavaCore.create(project);
if (javaProject != null && javaProject.exists() && javaProject.isOpen()
&& javaProject instanceof JavaProject) {
Object object = ((JavaProject) javaProject).getElementInfo();
- if (object instanceof JavaElementInfo) {
+ if (object instanceof OpenableElementInfo) {
// copied from JavaProject.buildStructure(...)
- JavaElementInfo info = (JavaElementInfo) object;
+ OpenableElementInfo info = (OpenableElementInfo) object;
IClasspathEntry[] resolvedClasspath = ((JavaProject)
javaProject).getResolvedClasspath();
IPackageFragmentRoot[] children = ((JavaProject)
javaProject).computePackageFragmentRoots(resolvedClasspath,false, null /* no reverse map
*/);
info.setChildren(children);
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/WtpUtils.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/WtpUtils.java 2009-04-03
22:02:30 UTC (rev 14507)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/WtpUtils.java 2009-04-03
22:03:06 UTC (rev 14508)
@@ -34,8 +34,8 @@
import org.eclipse.jdt.core.JavaConventions;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.jdt.internal.core.JavaElementInfo;
import org.eclipse.jdt.internal.core.JavaProject;
+import org.eclipse.jdt.internal.core.OpenableElementInfo;
import org.eclipse.jdt.internal.ui.util.CoreUtility;
import org.eclipse.jdt.launching.JavaRuntime;
import org.eclipse.jdt.ui.PreferenceConstants;
@@ -271,9 +271,9 @@
IJavaProject javaProject = JavaCore.create(project);
if (javaProject != null && javaProject.exists() && javaProject.isOpen()
&& javaProject instanceof JavaProject) {
Object object = ((JavaProject) javaProject).getElementInfo();
- if (object instanceof JavaElementInfo) {
+ if (object instanceof OpenableElementInfo) {
// copied from JavaProject.buildStructure(...)
- JavaElementInfo info = (JavaElementInfo) object;
+ OpenableElementInfo info = (OpenableElementInfo) object;
IClasspathEntry[] resolvedClasspath = ((JavaProject)
javaProject).getResolvedClasspath();
IPackageFragmentRoot[] children = ((JavaProject)
javaProject).computePackageFragmentRoots(resolvedClasspath,false, null /* no reverse map
*/);
info.setChildren(children);
Show replies by date