Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 79783 Details for
Bug 203158
Need strict separation between UI and non-UI enablement plug-ins
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Patch for Informix refactoring
patch_informix.txt (text/plain), 45.23 KB, created by
Larry Dunnell
on 2007-10-04 21:00:18 EDT
(
hide
)
Description:
Patch for Informix refactoring
Filename:
MIME Type:
Creator:
Larry Dunnell
Created:
2007-10-04 21:00:18 EDT
Size:
45.23 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.datatools.enablement.ibm.informix.ui >Index: build.properties >=================================================================== >RCS file: /cvsroot/datatools/org.eclipse.datatools.enablement/plugins/org.eclipse.datatools.enablement.ibm.informix.ui/build.properties,v >retrieving revision 1.1 >diff -u -r1.1 build.properties >--- build.properties 5 Oct 2007 00:11:54 -0000 1.1 >+++ build.properties 5 Oct 2007 00:59:51 -0000 >@@ -1,4 +1,8 @@ > source.. = src/ > output.. = bin/ > bin.includes = META-INF/,\ >- . >+ .,\ >+ plugin.xml,\ >+ plugin.properties,\ >+ icons/,\ >+ about.html >Index: META-INF/MANIFEST.MF >=================================================================== >RCS file: /cvsroot/datatools/org.eclipse.datatools.enablement/plugins/org.eclipse.datatools.enablement.ibm.informix.ui/META-INF/MANIFEST.MF,v >retrieving revision 1.1 >diff -u -r1.1 MANIFEST.MF >--- META-INF/MANIFEST.MF 5 Oct 2007 00:11:55 -0000 1.1 >+++ META-INF/MANIFEST.MF 5 Oct 2007 00:59:51 -0000 >@@ -1,5 +1,15 @@ > Manifest-Version: 1.0 > Bundle-ManifestVersion: 2 >-Bundle-Name: Ui Plug-in >-Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm.informix.ui >-Bundle-Version: 1.0.0 >+Bundle-Name: %pluginName >+Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm.informix.ui;singleton:=true >+Bundle-Version: 1.0.0.200710041 >+Bundle-Localization: plugin >+Bundle-Vendor: %providerName >+Export-Package: org.eclipse.datatools.enablement.ibm.informix.internal.ui >+Require-Bundle: org.eclipse.ui;bundle-version="[3.2.0,4.0)", >+ org.eclipse.datatools.connectivity;bundle-version="[1.0.1,2.0.0)", >+ org.eclipse.datatools.connectivity.ui;bundle-version="[1.0.1,2.0.0)", >+ org.eclipse.datatools.connectivity.db.generic;bundle-version="[1.0.0,2.0.0)", >+ org.eclipse.datatools.connectivity.db.generic.ui;bundle-version="[1.0.1,2.0.0)", >+ org.eclipse.datatools.enablement.ibm.informix;bundle-version="[1.0.0,2.0.0)" >+Bundle-RequiredExecutionEnvironment: J2SE-1.4 >Index: plugin.properties >=================================================================== >RCS file: plugin.properties >diff -N plugin.properties >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ plugin.properties 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,15 @@ >+############################################################################### >+# Copyright (c) 2006, 2007 IBM Corporation and others. >+# All rights reserved. This program and the accompanying materials >+# are made available under the terms of the Eclipse Public License v1.0 >+# which accompanies this distribution, and is available at >+# http://www.eclipse.org/legal/epl-v10.html >+# >+# Contributors: >+# IBM Corporation - initial API and implementation >+############################################################################### >+pluginName=Eclipse Data Tools Platform Informix UI Plug-in >+providerName=Eclipse.org >+ >+profile.informix.wizard.title = Informix >+profile.informix.properties = Informix Connection Properties >Index: src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/InformixDBProfilePropertyPage.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/InformixDBProfilePropertyPage.java >diff -N src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/InformixDBProfilePropertyPage.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/InformixDBProfilePropertyPage.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,24 @@ >+/******************************************************************************* >+ * Copyright (c) 2007 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.datatools.enablement.ibm.informix.internal.ui; >+ >+import org.eclipse.datatools.connectivity.db.generic.ui.GenericDBProfilePropertyPage; >+import org.eclipse.datatools.enablement.ibm.internal.informix.IInformixConnectionProfileConstants; >+ >+public class InformixDBProfilePropertyPage extends GenericDBProfilePropertyPage { >+ >+ public InformixDBProfilePropertyPage() { >+ super(); >+ noDefaultAndApplyButton(); >+ setDriverCategory(IInformixConnectionProfileConstants.INFORMIX_CATEGORY_ID); >+ } >+ >+} >Index: plugin.xml >=================================================================== >RCS file: plugin.xml >diff -N plugin.xml >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ plugin.xml 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,27 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<?eclipse version="3.0"?> >+<plugin> >+ <extension >+ point="org.eclipse.datatools.connectivity.connectionProfile"> >+ <newWizard >+ class="org.eclipse.datatools.enablement.ibm.informix.internal.ui.NewInformixConnectionProfileWizard" >+ icon="icons/new_db_element.gif" >+ id="org.eclipse.datatools.enablement.ibm.informix.NewInformixConnectionProfileWizard" >+ name="%profile.informix.wizard.title" >+ profile="org.eclipse.datatools.enablement.ibm.informix.connectionProfile"/> >+ </extension> >+ >+ <extension >+ point="org.eclipse.ui.propertyPages"> >+ <page >+ class="org.eclipse.datatools.enablement.ibm.informix.internal.ui.InformixDBProfilePropertyPage" >+ id="org.eclipse.datatools.enablement.ibm.informix.profileProperties" >+ name="%profile.informix.properties" >+ objectClass="org.eclipse.datatools.connectivity.IConnectionProfile"> >+ <filter >+ name="org.eclipse.datatools.profile.property.id" >+ value="org.eclipse.datatools.enablement.ibm.informix.connectionProfile"/> >+ </page> >+ </extension> >+ >+ </plugin> >Index: src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/InformixDBProfileDetailsWizardPage.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/InformixDBProfileDetailsWizardPage.java >diff -N src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/InformixDBProfileDetailsWizardPage.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/InformixDBProfileDetailsWizardPage.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,23 @@ >+/******************************************************************************* >+ * Copyright (c) 2007 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.datatools.enablement.ibm.informix.internal.ui; >+ >+import org.eclipse.datatools.connectivity.db.generic.ui.GenericDBProfileDetailsWizardPage; >+import org.eclipse.datatools.enablement.ibm.internal.informix.IInformixConnectionProfileConstants; >+ >+public class InformixDBProfileDetailsWizardPage >+ extends GenericDBProfileDetailsWizardPage{ >+ >+ public InformixDBProfileDetailsWizardPage(String pageName) { >+ super(pageName); >+ setDriverCategory(IInformixConnectionProfileConstants.INFORMIX_CATEGORY_ID); >+ } >+} >Index: icons/new_db_element.gif >=================================================================== >RCS file: icons/new_db_element.gif >diff -N icons/new_db_element.gif >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ icons/new_db_element.gif 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,4 @@ >+GIF89a÷ZcZcZc{{{µ9µ9½½½½ÞÞÆ½ÆÖÖÖÞÞ½çÎÿÿÿÞÞÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ!ù,t° Áh?@$8A!C&8¢2näh & >+8 #ÇJP¹rÀrPÒ?`D¢Ü >+ ÀP àgÍ-u²´i5èТG¥.]ÙôiTS«å5çÖ±"5À´$ >+Uª¼èeIpàÃ; >Index: src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/NewInformixConnectionProfileWizard.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/NewInformixConnectionProfileWizard.java >diff -N src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/NewInformixConnectionProfileWizard.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/ibm/informix/internal/ui/NewInformixConnectionProfileWizard.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,59 @@ >+/******************************************************************************* >+ * Copyright (c) 2007 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.datatools.enablement.ibm.informix.internal.ui; >+ >+import java.util.Properties; >+ >+import org.eclipse.datatools.connectivity.ConnectionProfileConstants; >+import org.eclipse.datatools.connectivity.db.generic.IDBConnectionProfileConstants; >+import org.eclipse.datatools.connectivity.db.generic.IDBDriverDefinitionConstants; >+import org.eclipse.datatools.connectivity.db.generic.ui.NewConnectionProfileWizard; >+ >+public class NewInformixConnectionProfileWizard extends NewConnectionProfileWizard { >+ >+ protected InformixDBProfileDetailsWizardPage mPropPage; >+ >+ public NewInformixConnectionProfileWizard() { >+ super(); >+ } >+ >+ public void addCustomPages() { >+ mPropPage = new InformixDBProfileDetailsWizardPage("detailsPage"); //$NON-NLS-1$ >+ addPage(mPropPage); >+ } >+ >+ public Properties getProfileProperties() { >+ Properties props = new Properties(); >+ props.setProperty(ConnectionProfileConstants.PROP_DRIVER_DEFINITION_ID, >+ this.mPropPage.getDriverID()); >+ props.setProperty( >+ IDBConnectionProfileConstants.CONNECTION_PROPERTIES_PROP_ID, >+ this.mPropPage.getDBConnProps()); >+ props.setProperty(IDBDriverDefinitionConstants.DRIVER_CLASS_PROP_ID, this.mPropPage >+ .getDriverClass()); >+ props.setProperty(IDBDriverDefinitionConstants.DATABASE_VENDOR_PROP_ID, this.mPropPage >+ .getVendor()); >+ props.setProperty(IDBDriverDefinitionConstants.DATABASE_VERSION_PROP_ID, this.mPropPage >+ .getVersion()); >+ props.setProperty(IDBDriverDefinitionConstants.DATABASE_NAME_PROP_ID, this.mPropPage >+ .getDatabaseName()); >+ props.setProperty(IDBDriverDefinitionConstants.PASSWORD_PROP_ID, this.mPropPage >+ .getDBPWD()); >+ props.setProperty( >+ IDBConnectionProfileConstants.SAVE_PASSWORD_PROP_ID, String >+ .valueOf(this.mPropPage.getSaveDBPWD())); >+ props.setProperty(IDBDriverDefinitionConstants.USERNAME_PROP_ID, this.mPropPage >+ .getDBUID()); >+ props.setProperty(IDBDriverDefinitionConstants.URL_PROP_ID, >+ this.mPropPage.getURL()); >+ return props; >+ } >+} >#P org.eclipse.datatools.enablement.ibm.informix >Index: build.properties >=================================================================== >RCS file: /cvsroot/datatools/org.eclipse.datatools.enablement/plugins/org.eclipse.datatools.enablement.ibm.informix/build.properties,v >retrieving revision 1.1 >diff -u -r1.1 build.properties >--- build.properties 5 Oct 2007 00:11:55 -0000 1.1 >+++ build.properties 5 Oct 2007 00:59:52 -0000 >@@ -1,4 +1,8 @@ > source.. = src/ > output.. = bin/ > bin.includes = META-INF/,\ >- . >+ .,\ >+ about.html,\ >+ icons/,\ >+ plugin.properties,\ >+ plugin.xml >Index: META-INF/MANIFEST.MF >=================================================================== >RCS file: /cvsroot/datatools/org.eclipse.datatools.enablement/plugins/org.eclipse.datatools.enablement.ibm.informix/META-INF/MANIFEST.MF,v >retrieving revision 1.1 >diff -u -r1.1 MANIFEST.MF >--- META-INF/MANIFEST.MF 5 Oct 2007 00:11:55 -0000 1.1 >+++ META-INF/MANIFEST.MF 5 Oct 2007 00:59:52 -0000 >@@ -1,5 +1,11 @@ > Manifest-Version: 1.0 > Bundle-ManifestVersion: 2 >-Bundle-Name: Informix Plug-in >-Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm.informix >-Bundle-Version: 1.0.0 >+Bundle-Name: %pluginName >+Bundle-SymbolicName: org.eclipse.datatools.enablement.ibm.informix;singleton:=true >+Bundle-Version: 1.0.0.200710041 >+Bundle-Localization: plugin >+Bundle-Vendor: %providerName >+Export-Package: org.eclipse.datatools.enablement.ibm.internal.informix >+Require-Bundle: org.eclipse.datatools.connectivity;bundle-version="[1.0.1,2.0.0)", >+ org.eclipse.datatools.connectivity.db.generic;bundle-version="[1.0.0,2.0.0)" >+Bundle-RequiredExecutionEnvironment: J2SE-1.4 >Index: src/org/eclipse/datatools/enablement/ibm/internal/informix/JDBCInformixJDBCConnection.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/ibm/internal/informix/JDBCInformixJDBCConnection.java >diff -N src/org/eclipse/datatools/enablement/ibm/internal/informix/JDBCInformixJDBCConnection.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/ibm/internal/informix/JDBCInformixJDBCConnection.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,21 @@ >+/******************************************************************************* >+ * Copyright (c) 2007 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.datatools.enablement.ibm.internal.informix; >+ >+import org.eclipse.datatools.connectivity.IConnectionProfile; >+import org.eclipse.datatools.connectivity.db.generic.JDBCConnection; >+ >+public class JDBCInformixJDBCConnection extends JDBCConnection { >+ >+ public JDBCInformixJDBCConnection(IConnectionProfile profile, Class factoryClass) { >+ super(profile, factoryClass); >+ } >+} >Index: icons/jdbc_16.gif >=================================================================== >RCS file: icons/jdbc_16.gif >diff -N icons/jdbc_16.gif >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ icons/jdbc_16.gif 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,3 @@ >+GIF89a³¿ÜÛÀ¿À®¿¿¿ßß¿ÿßßîîî`_`_`_öööÑÑÑÿÿÿ!ù,sÐIÖ½?Il HD0È!Fè²$0ê >+ >+?P(x?ä±($Áá gÅÓpÅ¢ÉD*×aA?FÁi@vÛýdzròÌD¡RTp2<_u`'G?; >Index: src/org/eclipse/datatools/enablement/ibm/internal/informix/JDBCInformixConnectionFactory.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/ibm/internal/informix/JDBCInformixConnectionFactory.java >diff -N src/org/eclipse/datatools/enablement/ibm/internal/informix/JDBCInformixConnectionFactory.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/ibm/internal/informix/JDBCInformixConnectionFactory.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,35 @@ >+/******************************************************************************* >+ * Copyright (c) 2007 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+ >+package org.eclipse.datatools.enablement.ibm.internal.informix; >+ >+import org.eclipse.datatools.connectivity.IConnection; >+import org.eclipse.datatools.connectivity.IConnectionFactory; >+import org.eclipse.datatools.connectivity.IConnectionProfile; >+ >+public class JDBCInformixConnectionFactory implements IConnectionFactory { >+ >+ public JDBCInformixConnectionFactory() { >+ super(); >+ } >+ >+ public IConnection createConnection(IConnectionProfile profile) { >+ JDBCInformixJDBCConnection connection = new JDBCInformixJDBCConnection(profile, >+ getClass()); >+ connection.open(); >+ return connection; >+ } >+ >+ public IConnection createConnection(IConnectionProfile profile, String uid, >+ String pwd) { >+ return createConnection(profile); >+ } >+} >Index: src/org/eclipse/datatools/enablement/ibm/internal/informix/InformixDBPropertiesPersistenceHook.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/ibm/internal/informix/InformixDBPropertiesPersistenceHook.java >diff -N src/org/eclipse/datatools/enablement/ibm/internal/informix/InformixDBPropertiesPersistenceHook.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/ibm/internal/informix/InformixDBPropertiesPersistenceHook.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,17 @@ >+/******************************************************************************* >+ * Copyright (c) 2007 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.datatools.enablement.ibm.internal.informix; >+ >+import org.eclipse.datatools.connectivity.db.generic.GenericDBPropertiesPersistenceHook; >+ >+public class InformixDBPropertiesPersistenceHook extends >+ GenericDBPropertiesPersistenceHook { >+} >Index: plugin.xml >=================================================================== >RCS file: plugin.xml >diff -N plugin.xml >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ plugin.xml 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,538 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<?eclipse version="3.0"?> >+<plugin> >+ <extension >+ point="org.eclipse.datatools.connectivity.connectionProfile"> >+ <connectionProfile >+ category="org.eclipse.datatools.connectivity.db.category" >+ configurationType="org.eclipse.datatools.connectivity.db.generic.configurationType" >+ icon="icons/jdbc_16.gif" >+ id="org.eclipse.datatools.enablement.ibm.informix.connectionProfile" >+ name="%profile.informix.title" >+ pingFactory="org.eclipse.datatools.enablement.ibm.internal.informix.JDBCInformixConnectionFactory" >+ propertiesPersistenceHook="org.eclipse.datatools.enablement.ibm.internal.informix.InformixDBPropertiesPersistenceHook"/> >+ <connectionFactory >+ class="org.eclipse.datatools.enablement.ibm.internal.informix.JDBCInformixConnectionFactory" >+ id="java.sql.Connection" >+ name="jdbc.connection.name" >+ profile="org.eclipse.datatools.enablement.ibm.informix.connectionProfile"/> >+ </extension> >+ >+ <extension >+ point="org.eclipse.datatools.connectivity.driverExtension"> >+ <category >+ parentCategory="org.eclipse.datatools.connectivity.db.driverCategory" >+ id="org.eclipse.datatools.enablement.ibm.informix.driverCategory" >+ name="%INFORMIX_CATEGORY_NAME"/> >+ <category >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.driverCategory" >+ id="org.eclipse.datatools.enablement.ibm.informix.10_0.driverCategory" >+ name="%10_0_VERSION_CATEGORY_NAME"/> >+ <category >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.driverCategory" >+ id="org.eclipse.datatools.enablement.ibm.informix.9_4.driverCategory" >+ name="%9_4_VERSION_CATEGORY_NAME"/> >+ <category >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.driverCategory" >+ id="org.eclipse.datatools.enablement.ibm.informix.9_3.driverCategory" >+ name="%9_3_VERSION_CATEGORY_NAME"/> >+ <category >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.driverCategory" >+ id="org.eclipse.datatools.enablement.ibm.informix.9_2.driverCategory" >+ name="%9_2_VERSION_CATEGORY_NAME"/> >+ >+ <driverTemplate >+ createDefault="false" >+ emptyJarListIsOK="false" >+ id="org.eclipse.datatools.enablement.ibm.informix.10_0.driverTemplate" >+ jarList="ifxjdbc.jar" >+ name="%org.eclipse.datatools.enablement.ibm.informix.10_0.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.10_0.driverCategory"> >+ <properties> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.driverClass" >+ name="%driverClass" >+ value="com.informix.jdbc.IfxDriver" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.vendor" >+ name="%driverVendor" >+ value="Informix" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="10.0" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.databaseName" >+ name="%driverDBName" >+ value="database" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.URL" >+ name="%driverConnectionURL" >+ value="jdbc:informix-sqli://host:1526/database:INFORMIXSERVER=server" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.username" >+ name="%driverUID" >+ value="" >+ required="false" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.password" >+ name="%driverPWD" >+ required="false" >+ visible="true"/> >+ </properties> >+ </driverTemplate> >+ </extension> >+ >+ <extension >+ point="org.eclipse.datatools.connectivity.driverExtension"> >+ <driverTemplate >+ createDefault="false" >+ emptyJarListIsOK="false" >+ id="org.eclipse.datatools.enablement.ibm.informix.9_4.driverTemplate" >+ jarList="ifxjdbc.jar" >+ name="%org.eclipse.datatools.enablement.ibm.informix.9_4.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.9_4.driverCategory"> >+ <properties> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.driverClass" >+ name="%driverClass" >+ value="com.informix.jdbc.IfxDriver" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.vendor" >+ name="%driverVendor" >+ value="Informix" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="9.4" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.databaseName" >+ name="%driverDBName" >+ value="database" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.URL" >+ name="%driverConnectionURL" >+ value="jdbc:informix-sqli://host:1526/database:INFORMIXSERVER=server" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.username" >+ name="%driverUID" >+ value="" >+ required="false" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.password" >+ name="%driverPWD" >+ required="false" >+ visible="true"/> >+ </properties> >+ </driverTemplate> >+ </extension> >+ >+ <extension >+ point="org.eclipse.datatools.connectivity.driverExtension"> >+ <driverTemplate >+ createDefault="false" >+ emptyJarListIsOK="false" >+ id="org.eclipse.datatools.enablement.ibm.informix.9_3.driverTemplate" >+ jarList="ifxjdbc.jar" >+ name="%org.eclipse.datatools.enablement.ibm.informix.9_3.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.9_3.driverCategory"> >+ <properties> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.driverClass" >+ name="%driverClass" >+ value="com.informix.jdbc.IfxDriver" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.vendor" >+ name="%driverVendor" >+ value="Informix" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="9.3" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.databaseName" >+ name="%driverDBName" >+ value="database" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.URL" >+ name="%driverConnectionURL" >+ value="jdbc:informix-sqli://host:1526/database:INFORMIXSERVER=server" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.username" >+ name="%driverUID" >+ value="" >+ required="false" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.password" >+ name="%driverPWD" >+ required="false" >+ visible="true"/> >+ </properties> >+ </driverTemplate> >+ </extension> >+ >+ <extension >+ point="org.eclipse.datatools.connectivity.driverExtension"> >+ <driverTemplate >+ createDefault="false" >+ emptyJarListIsOK="false" >+ id="org.eclipse.datatools.enablement.ibm.informix.9_2.driverTemplate" >+ jarList="ifxjdbc.jar" >+ name="%org.eclipse.datatools.enablement.ibm.informix.9_2.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.9_2.driverCategory"> >+ <properties> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.driverClass" >+ name="%driverClass" >+ value="com.informix.jdbc.IfxDriver" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.vendor" >+ name="%driverVendor" >+ value="Informix" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="9.2" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.databaseName" >+ name="%driverDBName" >+ value="database" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.URL" >+ name="%driverConnectionURL" >+ value="jdbc:informix-sqli://host:1526/database:INFORMIXSERVER=server" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.username" >+ name="%driverUID" >+ value="" >+ required="false" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.password" >+ name="%driverPWD" >+ required="false" >+ visible="true"/> >+ </properties> >+ </driverTemplate> >+ </extension> >+ >+ <extension >+ point="org.eclipse.datatools.connectivity.driverExtension"> >+ <driverTemplate >+ createDefault="false" >+ emptyJarListIsOK="false" >+ id="org.eclipse.datatools.enablement.ibm.informix.10_0.other.driverTemplate" >+ jarList="" >+ name="%org.eclipse.datatools.enablement.ibm.informix.10_0.other.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.10_0.driverCategory"> >+ <properties> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.driverClass" >+ name="%driverClass" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.vendor" >+ name="%driverVendor" >+ value="Informix" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="10.0" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.databaseName" >+ name="%driverDBName" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.URL" >+ name="%driverConnectionURL" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.username" >+ name="%driverUID" >+ value="" >+ required="false" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.password" >+ name="%driverPWD" >+ required="false" >+ visible="true"/> >+ </properties> >+ </driverTemplate> >+ </extension> >+ >+ <extension >+ point="org.eclipse.datatools.connectivity.driverExtension"> >+ <driverTemplate >+ createDefault="false" >+ emptyJarListIsOK="false" >+ id="org.eclipse.datatools.enablement.ibm.informix.9_4.other.driverTemplate" >+ jarList="" >+ name="%org.eclipse.datatools.enablement.ibm.informix.9_4.other.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.9_4.driverCategory"> >+ <properties> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.driverClass" >+ name="%driverClass" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.vendor" >+ name="%driverVendor" >+ value="Informix" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="9.4" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.databaseName" >+ name="%driverDBName" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.URL" >+ name="%driverConnectionURL" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.username" >+ name="%driverUID" >+ value="" >+ required="false" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.password" >+ name="%driverPWD" >+ required="false" >+ visible="true"/> >+ </properties> >+ </driverTemplate> >+ </extension> >+ >+ <extension >+ point="org.eclipse.datatools.connectivity.driverExtension"> >+ <driverTemplate >+ createDefault="false" >+ emptyJarListIsOK="false" >+ id="org.eclipse.datatools.enablement.ibm.informix.9_3.other.driverTemplate" >+ jarList="" >+ name="%org.eclipse.datatools.enablement.ibm.informix.9_3.other.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.9_3.driverCategory"> >+ <properties> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.driverClass" >+ name="%driverClass" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.vendor" >+ name="%driverVendor" >+ value="Informix" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="9.3" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.databaseName" >+ name="%driverDBName" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.URL" >+ name="%driverConnectionURL" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.username" >+ name="%driverUID" >+ value="" >+ required="false" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.password" >+ name="%driverPWD" >+ required="false" >+ visible="true"/> >+ </properties> >+ </driverTemplate> >+ </extension> >+ >+ <extension >+ point="org.eclipse.datatools.connectivity.driverExtension"> >+ <driverTemplate >+ createDefault="false" >+ emptyJarListIsOK="false" >+ id="org.eclipse.datatools.enablement.ibm.informix.9_2.other.driverTemplate" >+ jarList="" >+ name="%org.eclipse.datatools.enablement.ibm.informix.9_2.other.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.ibm.informix.9_2.driverCategory"> >+ <properties> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.driverClass" >+ name="%driverClass" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.vendor" >+ name="%driverVendor" >+ value="Informix" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="9.2" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.databaseName" >+ name="%driverDBName" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.URL" >+ name="%driverConnectionURL" >+ value="" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.username" >+ name="%driverUID" >+ value="" >+ required="false" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.password" >+ name="%driverPWD" >+ required="false" >+ visible="true"/> >+ </properties> >+ </driverTemplate> >+ </extension> >+ >+ </plugin> >Index: plugin.properties >=================================================================== >RCS file: plugin.properties >diff -N plugin.properties >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ plugin.properties 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,38 @@ >+############################################################################### >+# Copyright (c) 2006, 2007 IBM Corporation and others. >+# All rights reserved. This program and the accompanying materials >+# are made available under the terms of the Eclipse Public License v1.0 >+# which accompanies this distribution, and is available at >+# http://www.eclipse.org/legal/epl-v10.html >+# >+# Contributors: >+# IBM Corporation - initial API and implementation >+############################################################################### >+pluginName=Eclipse Data Tools Platform Informix Plug-in >+providerName=Eclipse.org >+ >+driverClass = Driver Class >+driverVendor = Vendor >+driverVersion = Version >+driverDBName = Database Name >+driverConnectionURL = Connection URL >+driverUID = User ID >+driverPWD = Password >+ >+INFORMIX_CATEGORY_NAME = Informix >+10_0_VERSION_CATEGORY_NAME = 10.0 >+9_4_VERSION_CATEGORY_NAME = 9.4 >+9_3_VERSION_CATEGORY_NAME = 9.3 >+9_2_VERSION_CATEGORY_NAME = 9.2 >+ >+org.eclipse.datatools.enablement.ibm.informix.10_0.driverTemplate = Informix JDBC Driver >+org.eclipse.datatools.enablement.ibm.informix.10_0.other.driverTemplate = Other Driver >+org.eclipse.datatools.enablement.ibm.informix.9_4.driverTemplate = Informix JDBC Driver >+org.eclipse.datatools.enablement.ibm.informix.9_4.other.driverTemplate = Other Driver >+org.eclipse.datatools.enablement.ibm.informix.9_3.driverTemplate = Informix JDBC Driver >+org.eclipse.datatools.enablement.ibm.informix.9_3.other.driverTemplate = Other Driver >+org.eclipse.datatools.enablement.ibm.informix.9_2.driverTemplate = Informix JDBC Driver >+org.eclipse.datatools.enablement.ibm.informix.9_2.other.driverTemplate = Other Driver >+ >+jdbc.connection.name = JDBC Connection >+profile.informix.title = Informix >Index: src/org/eclipse/datatools/enablement/ibm/internal/informix/IInformixConnectionProfileConstants.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/ibm/internal/informix/IInformixConnectionProfileConstants.java >diff -N src/org/eclipse/datatools/enablement/ibm/internal/informix/IInformixConnectionProfileConstants.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/ibm/internal/informix/IInformixConnectionProfileConstants.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,18 @@ >+/******************************************************************************* >+ * Copyright (c) 2007 IBM Corporation and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * IBM Corporation - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.datatools.enablement.ibm.internal.informix; >+ >+ >+public interface IInformixConnectionProfileConstants { >+ >+ public static final String INFORMIX_CATEGORY_ID = "org.eclipse.datatools.enablement.ibm.informix.driverCategory"; //$NON-NLS-1$ >+ >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 203158
:
78235
|
79770
|
79771
|
79782
| 79783 |
79784
|
79840
|
80178
|
80254
|
80269
|
80612
|
80613
|
87290