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 158036 Details for
Bug 298392
BIDI_BDL: Visual field supporting proper display and editing of Bidi data in visual Bidi layout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch file for org.eclipse.datatools.connectivity
datatools_connectivity.txt (text/plain), 2.95 KB, created by
Ira Fishbein
on 2010-02-03 06:31:22 EST
(
hide
)
Description:
patch file for org.eclipse.datatools.connectivity
Filename:
MIME Type:
Creator:
Ira Fishbein
Created:
2010-02-03 06:31:22 EST
Size:
2.95 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.datatools.connectivity >Index: src/org/eclipse/datatools/connectivity/internal/resources.properties >=================================================================== >RCS file: /cvsroot/datatools/org.eclipse.datatools.connectivity/plugins/org.eclipse.datatools.connectivity/src/org/eclipse/datatools/connectivity/internal/resources.properties,v >retrieving revision 1.20 >diff -u -r1.20 resources.properties >--- src/org/eclipse/datatools/connectivity/internal/resources.properties 16 Nov 2008 06:11:59 -0000 1.20 >+++ src/org/eclipse/datatools/connectivity/internal/resources.properties 3 Feb 2010 10:56:17 -0000 >@@ -75,5 +75,7 @@ > > JDBCConnection.technologyName = JDBC > >+JDBCConnection.Field3270Support = 3270_FIELD_SUPPORT >+ > > >Index: src/org/eclipse/datatools/connectivity/internal/DriverUtil.java >=================================================================== >RCS file: /cvsroot/datatools/org.eclipse.datatools.connectivity/plugins/org.eclipse.datatools.connectivity/src/org/eclipse/datatools/connectivity/internal/DriverUtil.java,v >retrieving revision 1.3 >diff -u -r1.3 DriverUtil.java >--- src/org/eclipse/datatools/connectivity/internal/DriverUtil.java 13 Nov 2007 23:18:37 -0000 1.3 >+++ src/org/eclipse/datatools/connectivity/internal/DriverUtil.java 3 Feb 2010 10:56:17 -0000 >@@ -16,12 +16,15 @@ > import java.sql.Driver; > import java.util.ArrayList; > import java.util.Enumeration; >+import java.util.StringTokenizer; > import java.util.jar.JarFile; > import java.util.zip.ZipEntry; > import java.util.zip.ZipException; > import java.util.zip.ZipFile; > > import org.eclipse.core.runtime.IProgressMonitor; >+import org.eclipse.datatools.connectivity.IConnectionProfile; >+import org.eclipse.datatools.connectivity.drivers.jdbc.IJDBCConnectionProfileConstants; > > /** > * Set of utility methods to process class names from jar files >@@ -143,4 +146,29 @@ > > return outclass; > } >+ >+ public static boolean is3270SupportRequired(IConnectionProfile profile) { >+ if ((profile == null) || (profile.getBaseProperties() == null)) >+ return false; >+ String field3270SupportProp = ConnectivityPlugin.getDefault().getResourceString("JDBCConnection.Field3270Support"); //$NON-NLS-1$ >+ >+ String connProperties = profile.getBaseProperties().getProperty(IJDBCConnectionProfileConstants.CONNECTION_PROPERTIES_PROP_ID); >+ if (connProperties != null && connProperties.contains(field3270SupportProp)){ >+ String propDelim = ",";//$NON-NLS-1$ >+ >+ StringTokenizer tk = new StringTokenizer(connProperties,propDelim); >+ String str; >+ while (tk.hasMoreTokens()){ >+ str = tk.nextToken(); >+ if (str.contains(field3270SupportProp)){ >+ String value = str.substring(str.indexOf("=") + 1).trim(); >+ if ("true".equalsIgnoreCase(value)) >+ return true; >+ } >+ } >+ return false; >+ >+ } >+ return false; >+ } > }
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 298392
:
155320
|
158035
| 158036 |
158038
|
158040
|
158041
|
158042