Permalink
Browse files

[BZ203158] Updating password fields for drivers to split out custom p…

…roperty descriptor for masking password characters
  • Loading branch information...
1 parent b124fd4 commit a333d63f6c9810b35eaccd9c104f7c2d071726dd @bfitzpat bfitzpat committed Nov 2, 2007
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.datatools.enablement.mysql.ui</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.datatools.enablement.mysql.ui;singleton:=true
+Bundle-Version: 1.0.0.200711021
+Bundle-Activator: org.eclipse.datatools.enablement.mysql.ui.Activator
+Bundle-Vendor: %providerName
+Require-Bundle: org.eclipse.ui;bundle-version="[3.2.0,4.0.0)",
+ org.eclipse.core.runtime;bundle-version="[3.2.0,4.0.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.enablement.mysql;bundle-version="[1.0.0,2.0.0)"
+Eclipse-LazyStart: true
+Export-Package: org.eclipse.datatools.enablement.mysql.ui
+Bundle-RequiredExecutionEnvironment: J2SE-1.4
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 2, 2006</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
@@ -0,0 +1,23 @@
+###############################################################################
+# Copyright (c) 2005 Versant 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:
+# Versant Corporation - initial API and implementation
+###############################################################################
+bin.includes = plugin.xml,\
+ .,\
+ plugin.properties,\
+ about.html,\
+ META-INF/
+jars.compile.order = .
+source.. = src/
+plugin.version = 1.0.0.200711021
+javadoc.dir = doc/api/
+download.dir = ./download/
+javac.source = 1.4
+javac.target = 1.4
+
@@ -0,0 +1,12 @@
+###############################################################################
+# 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 MySQL UI Plug-in
+providerName=Eclipse.org
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+ <extension
+ point="org.eclipse.datatools.connectivity.ui.driverPropertyEditor">
+ <propertyEditor
+ customPropertyDescriptor="org.eclipse.datatools.connectivity.ui.PasswordTextPropertyDescriptor"
+ driverPropertyID="org.eclipse.datatools.connectivity.db.password"
+ driverTemplateID="org.eclipse.datatools.enablement.mysql.4_0.driverTemplate"
+ id="org.eclipse.datatools.enablement.mysql.4_0.driverTemplate.password">
+ </propertyEditor>
+ <propertyEditor
+ customPropertyDescriptor="org.eclipse.datatools.connectivity.ui.PasswordTextPropertyDescriptor"
+ driverPropertyID="org.eclipse.datatools.connectivity.db.password"
+ driverTemplateID="org.eclipse.datatools.enablement.mysql.4_1.driverTemplate"
+ id="org.eclipse.datatools.enablement.mysql.4_1.driverTemplate.password">
+ </propertyEditor>
+ <propertyEditor
+ customPropertyDescriptor="org.eclipse.datatools.connectivity.ui.PasswordTextPropertyDescriptor"
+ driverPropertyID="org.eclipse.datatools.connectivity.db.password"
+ driverTemplateID="org.eclipse.datatools.enablement.mysql.5_0.driverTemplate"
+ id="org.eclipse.datatools.enablement.mysql.5_0.driverTemplate.password">
+ </propertyEditor>
+ <propertyEditor
+ customPropertyDescriptor="org.eclipse.datatools.connectivity.ui.PasswordTextPropertyDescriptor"
+ driverPropertyID="org.eclipse.datatools.connectivity.db.password"
+ driverTemplateID="org.eclipse.datatools.enablement.mysql.5_1.driverTemplate"
+ id="org.eclipse.datatools.enablement.mysql.5_1.driverTemplate.password">
+ </propertyEditor>
+ </extension>
+
+</plugin>
@@ -0,0 +1,50 @@
+package org.eclipse.datatools.enablement.mysql.ui;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.eclipse.datatools.enablement.mysql.ui";
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}

0 comments on commit a333d63

Please sign in to comment.