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 79784 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]
Patch for Oracle refactoring
patch_oracle.txt (text/plain), 38.47 KB, created by
Larry Dunnell
on 2007-10-04 21:42:52 EDT
(
hide
)
Description:
Patch for Oracle refactoring
Filename:
MIME Type:
Creator:
Larry Dunnell
Created:
2007-10-04 21:42:52 EDT
Size:
38.47 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.datatools.enablement.oracle >Index: build.properties >=================================================================== >RCS file: /cvsroot/datatools/org.eclipse.datatools.enablement/plugins/org.eclipse.datatools.enablement.oracle/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 01:42:25 -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.oracle/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 01:42:25 -0000 >@@ -1,5 +1,12 @@ > Manifest-Version: 1.0 > Bundle-ManifestVersion: 2 >-Bundle-Name: Oracle Plug-in >-Bundle-SymbolicName: org.eclipse.datatools.enablement.oracle >-Bundle-Version: 1.0.0 >+Bundle-Name: %pluginName >+Bundle-SymbolicName: org.eclipse.datatools.enablement.oracle;singleton:=true >+Bundle-Version: 1.0.0.200710041 >+Bundle-Localization: plugin >+Export-Package: org.eclipse.datatools.enablement.internal.oracle >+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)" >+Eclipse-LazyStart: true >+Bundle-Vendor: %providerName >+Bundle-RequiredExecutionEnvironment: J2SE-1.4 >Index: src/org/eclipse/datatools/enablement/internal/oracle/JDBCOracleJDBCConnection.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/internal/oracle/JDBCOracleJDBCConnection.java >diff -N src/org/eclipse/datatools/enablement/internal/oracle/JDBCOracleJDBCConnection.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/internal/oracle/JDBCOracleJDBCConnection.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.internal.oracle; >+ >+import org.eclipse.datatools.connectivity.IConnectionProfile; >+import org.eclipse.datatools.connectivity.db.generic.JDBCConnection; >+ >+public class JDBCOracleJDBCConnection extends JDBCConnection { >+ >+ public JDBCOracleJDBCConnection(IConnectionProfile profile, Class factoryClass) { >+ super(profile, factoryClass); >+ } >+} >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,35 @@ >+############################################################################### >+# 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 Oracle Plug-in >+providerName=Eclipse.org >+ >+driverClass = Driver Class >+driverVendor = Vendor >+driverVersion = Version >+driverDBName = Database Name >+driverConnectionURL = Connection URL >+driverUID = User ID >+driverPWD = Password >+ >+ORACLE_CATEGORY_NAME = Oracle >+10_VERSION_CATEGORY_NAME = 10 >+9_VERSION_CATEGORY_NAME = 9 >+8_VERSION_CATEGORY_NAME = 8 >+ >+org.eclipse.datatools.enablement.oracle.10.driverTemplate = Oracle Thin Driver >+org.eclipse.datatools.enablement.oracle.9.driverTemplate = Oracle Thin Driver >+org.eclipse.datatools.enablement.oracle.8.driverTemplate = Oracle Thin Driver >+org.eclipse.datatools.enablement.oracle.10.other.driverTemplate = Other Driver >+org.eclipse.datatools.enablement.oracle.9.other.driverTemplate = Other Driver >+org.eclipse.datatools.enablement.oracle.8.other.driverTemplate = Other Driver >+ >+jdbc.connection.name = JDBC Connection >+profile.oracle.title = Oracle >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,409 @@ >+<?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.oracle.connectionProfile" >+ name="%profile.oracle.title" >+ pingFactory="org.eclipse.datatools.enablement.internal.oracle.JDBCOracleConnectionFactory" >+ propertiesPersistenceHook="org.eclipse.datatools.enablement.internal.oracle.OracleDBPropertiesPersistenceHook"/> >+ <connectionFactory >+ class="org.eclipse.datatools.enablement.internal.oracle.JDBCOracleConnectionFactory" >+ id="java.sql.Connection" >+ name="jdbc.connection.name" >+ profile="org.eclipse.datatools.enablement.oracle.connectionProfile"/> >+ </extension> >+ >+ <extension >+ point="org.eclipse.datatools.connectivity.driverExtension"> >+ <category >+ parentCategory="org.eclipse.datatools.connectivity.db.driverCategory" >+ id="org.eclipse.datatools.enablement.oracle.driverCategory" >+ name="%ORACLE_CATEGORY_NAME"/> >+ <category >+ parentCategory="org.eclipse.datatools.enablement.oracle.driverCategory" >+ id="org.eclipse.datatools.enablement.oracle.10.driverCategory" >+ name="%10_VERSION_CATEGORY_NAME"/> >+ <category >+ parentCategory="org.eclipse.datatools.enablement.oracle.driverCategory" >+ id="org.eclipse.datatools.enablement.oracle.9.driverCategory" >+ name="%9_VERSION_CATEGORY_NAME"/> >+ <category >+ parentCategory="org.eclipse.datatools.enablement.oracle.driverCategory" >+ id="org.eclipse.datatools.enablement.oracle.8.driverCategory" >+ name="%8_VERSION_CATEGORY_NAME"/> >+ >+ <driverTemplate >+ createDefault="false" >+ emptyJarListIsOK="false" >+ id="org.eclipse.datatools.enablement.oracle.10.driverTemplate" >+ jarList="ojdbc14.jar" >+ name="%org.eclipse.datatools.enablement.oracle.10.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.oracle.10.driverCategory" > >+ <properties> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.driverClass" >+ name="%driverClass" >+ value="oracle.jdbc.OracleDriver" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.vendor" >+ name="%driverVendor" >+ value="Oracle" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="10" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.databaseName" >+ name="%driverDBName" >+ value="db" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.URL" >+ name="%driverConnectionURL" >+ value="jdbc:oracle:thin:@server:1521:db" >+ 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.oracle.9.driverTemplate" >+ jarList="classes12.jar" >+ name="%org.eclipse.datatools.enablement.oracle.9.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.oracle.9.driverCategory" > >+ <properties> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.driverClass" >+ name="%driverClass" >+ value="oracle.jdbc.OracleDriver" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.vendor" >+ name="%driverVendor" >+ value="Oracle" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="9" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.databaseName" >+ name="%driverDBName" >+ value="db" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.URL" >+ name="%driverConnectionURL" >+ value="jdbc:oracle:thin:@server:1521:db" >+ 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.oracle.8.driverTemplate" >+ jarList="classes12.jar" >+ name="%org.eclipse.datatools.enablement.oracle.8.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.oracle.8.driverCategory" > >+ <properties> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.driverClass" >+ name="%driverClass" >+ value="oracle.jdbc.OracleDriver" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.vendor" >+ name="%driverVendor" >+ value="Oracle" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="8" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.databaseName" >+ name="%driverDBName" >+ value="db" >+ required="true" >+ visible="true"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.URL" >+ name="%driverConnectionURL" >+ value="jdbc:oracle:thin:@server:1521:db" >+ 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.oracle.10.other.driverTemplate" >+ jarList="" >+ name="%org.eclipse.datatools.enablement.oracle.10.other.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.oracle.10.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="Oracle" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="10" >+ 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.oracle.9.other.driverTemplate" >+ jarList="" >+ name="%org.eclipse.datatools.enablement.oracle.9.other.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.oracle.9.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="Oracle" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="9" >+ 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.oracle.8.other.driverTemplate" >+ jarList="" >+ name="%org.eclipse.datatools.enablement.oracle.8.other.driverTemplate" >+ parentCategory="org.eclipse.datatools.enablement.oracle.8.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="Oracle" >+ required="true" >+ visible="false"/> >+ <property >+ generated="false" >+ id="org.eclipse.datatools.connectivity.db.version" >+ name="%driverVersion" >+ value="8" >+ 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: src/org/eclipse/datatools/enablement/internal/oracle/JDBCOracleConnectionFactory.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/internal/oracle/JDBCOracleConnectionFactory.java >diff -N src/org/eclipse/datatools/enablement/internal/oracle/JDBCOracleConnectionFactory.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/internal/oracle/JDBCOracleConnectionFactory.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.internal.oracle; >+ >+import org.eclipse.datatools.connectivity.IConnection; >+import org.eclipse.datatools.connectivity.IConnectionFactory; >+import org.eclipse.datatools.connectivity.IConnectionProfile; >+ >+public class JDBCOracleConnectionFactory implements IConnectionFactory { >+ >+ public JDBCOracleConnectionFactory() { >+ super(); >+ } >+ >+ public IConnection createConnection(IConnectionProfile profile) { >+ JDBCOracleJDBCConnection connection = new JDBCOracleJDBCConnection(profile, >+ getClass()); >+ connection.open(); >+ return connection; >+ } >+ >+ public IConnection createConnection(IConnectionProfile profile, String uid, >+ String pwd) { >+ return createConnection(profile); >+ } >+} >Index: src/org/eclipse/datatools/enablement/internal/oracle/OracleDBPropertiesPersistenceHook.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/internal/oracle/OracleDBPropertiesPersistenceHook.java >diff -N src/org/eclipse/datatools/enablement/internal/oracle/OracleDBPropertiesPersistenceHook.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/internal/oracle/OracleDBPropertiesPersistenceHook.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.internal.oracle; >+ >+import org.eclipse.datatools.connectivity.db.generic.GenericDBPropertiesPersistenceHook; >+ >+public class OracleDBPropertiesPersistenceHook extends >+ GenericDBPropertiesPersistenceHook { >+} >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/internal/oracle/IOracleConnectionProfileConstants.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/internal/oracle/IOracleConnectionProfileConstants.java >diff -N src/org/eclipse/datatools/enablement/internal/oracle/IOracleConnectionProfileConstants.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/internal/oracle/IOracleConnectionProfileConstants.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.internal.oracle; >+ >+ >+public interface IOracleConnectionProfileConstants { >+ >+ public static final String ORACLE_CATEGORY_ID = "org.eclipse.datatools.enablement.oracle.driverCategory"; //$NON-NLS-1$ >+ >+} >#P org.eclipse.datatools.enablement.oracle.ui >Index: build.properties >=================================================================== >RCS file: /cvsroot/datatools/org.eclipse.datatools.enablement/plugins/org.eclipse.datatools.enablement.oracle.ui/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 01:42:26 -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.oracle.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 01:42:26 -0000 >@@ -1,5 +1,16 @@ > Manifest-Version: 1.0 > Bundle-ManifestVersion: 2 >-Bundle-Name: Ui Plug-in >-Bundle-SymbolicName: org.eclipse.datatools.enablement.oracle.ui >-Bundle-Version: 1.0.0 >+Bundle-Name: %pluginName >+Bundle-SymbolicName: org.eclipse.datatools.enablement.oracle.ui;singleton:=true >+Bundle-Version: 1.0.0.200710041 >+Bundle-Localization: plugin >+Export-Package: org.eclipse.datatools.enablement.oracle.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.oracle;bundle-version="[1.0.0,2.0.0)" >+Eclipse-LazyStart: true >+Bundle-Vendor: %providerName >+Bundle-RequiredExecutionEnvironment: J2SE-1.4 >Index: src/org/eclipse/datatools/enablement/oracle/internal/ui/OracleDBProfileDetailsWizardPage.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/oracle/internal/ui/OracleDBProfileDetailsWizardPage.java >diff -N src/org/eclipse/datatools/enablement/oracle/internal/ui/OracleDBProfileDetailsWizardPage.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/oracle/internal/ui/OracleDBProfileDetailsWizardPage.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.oracle.internal.ui; >+ >+import org.eclipse.datatools.connectivity.db.generic.ui.GenericDBProfileDetailsWizardPage; >+import org.eclipse.datatools.enablement.internal.oracle.IOracleConnectionProfileConstants; >+ >+public class OracleDBProfileDetailsWizardPage >+ extends GenericDBProfileDetailsWizardPage{ >+ >+ public OracleDBProfileDetailsWizardPage(String pageName) { >+ super(pageName); >+ setDriverCategory(IOracleConnectionProfileConstants.ORACLE_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,26 @@ >+<?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.oracle.internal.ui.NewOracleConnectionProfileWizard" >+ icon="icons/new_db_element.gif" >+ id="org.eclipse.datatools.enablement.oracle.NewOracleConnectionProfileWizard" >+ name="%profile.oracle.wizard.title" >+ profile="org.eclipse.datatools.enablement.oracle.connectionProfile"/> >+ </extension> >+ <extension >+ point="org.eclipse.ui.propertyPages"> >+ <page >+ class="org.eclipse.datatools.enablement.oracle.internal.ui.OracleDBProfilePropertyPage" >+ id="org.eclipse.datatools.enablement.oracle.profileProperties" >+ name="%profile.oracle.properties" >+ objectClass="org.eclipse.datatools.connectivity.IConnectionProfile"> >+ <filter >+ name="org.eclipse.datatools.profile.property.id" >+ value="org.eclipse.datatools.enablement.oracle.connectionProfile"/> >+ </page> >+ </extension> >+ >+ </plugin> >Index: src/org/eclipse/datatools/enablement/oracle/internal/ui/NewOracleConnectionProfileWizard.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/oracle/internal/ui/NewOracleConnectionProfileWizard.java >diff -N src/org/eclipse/datatools/enablement/oracle/internal/ui/NewOracleConnectionProfileWizard.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/oracle/internal/ui/NewOracleConnectionProfileWizard.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.oracle.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 NewOracleConnectionProfileWizard extends NewConnectionProfileWizard { >+ >+ protected OracleDBProfileDetailsWizardPage mPropPage; >+ >+ public NewOracleConnectionProfileWizard() { >+ super(); >+ } >+ >+ public void addCustomPages() { >+ mPropPage = new OracleDBProfileDetailsWizardPage("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; >+ } >+} >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 Oracle UI Plug-in >+providerName=Eclipse.org >+ >+profile.oracle.wizard.title = Oracle >+profile.oracle.properties = Oracle Connection Properties >Index: src/org/eclipse/datatools/enablement/oracle/internal/ui/OracleDBProfilePropertyPage.java >=================================================================== >RCS file: src/org/eclipse/datatools/enablement/oracle/internal/ui/OracleDBProfilePropertyPage.java >diff -N src/org/eclipse/datatools/enablement/oracle/internal/ui/OracleDBProfilePropertyPage.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/datatools/enablement/oracle/internal/ui/OracleDBProfilePropertyPage.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.oracle.internal.ui; >+ >+import org.eclipse.datatools.connectivity.db.generic.ui.GenericDBProfilePropertyPage; >+import org.eclipse.datatools.enablement.internal.oracle.IOracleConnectionProfileConstants; >+ >+public class OracleDBProfilePropertyPage extends GenericDBProfilePropertyPage { >+ >+ public OracleDBProfilePropertyPage() { >+ super(); >+ noDefaultAndApplyButton(); >+ setDriverCategory(IOracleConnectionProfileConstants.ORACLE_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àÃ;
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203158
:
78235
|
79770
|
79771
|
79782
|
79783
| 79784 |
79840
|
80178
|
80254
|
80269
|
80612
|
80613
|
87290