Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Williams2019-06-12 12:22:20 -0400
committerNiraj Modi2019-06-19 03:10:39 -0400
commit16670bf4aef94a0d5f9e155ed603ec65a9b9f05d (patch)
tree4862fbae1c457d25abe4833ab6e3168fdc7c1899 /bundles
parent1b27cd18a6c693e206357ac5dbf13e66c6818b12 (diff)
downloadeclipse.platform.swt-16670bf4aef94a0d5f9e155ed603ec65a9b9f05d.tar.gz
eclipse.platform.swt-16670bf4aef94a0d5f9e155ed603ec65a9b9f05d.tar.xz
eclipse.platform.swt-16670bf4aef94a0d5f9e155ed603ec65a9b9f05d.zip
Bug 548190: [API] Add color constants for disabled background and
foreground colors Add COLOR_TEXT_DISABLED_BACKGROUND and COLOR_WIDGET_DISABLED_FOREGROUND fields in SWT.java. This facilitates work for bug 4745. Change-Id: I16716faa7dfdf7823cf020f1f006c05c400f5236 Signed-off-by: Eric Williams <ericwill@redhat.com>
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt/.settings/.api_filters14
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java14
-rw-r--r--bundles/org.eclipse.swt/META-INF/MANIFEST.MF2
-rw-r--r--bundles/org.eclipse.swt/build.xml2
-rw-r--r--bundles/org.eclipse.swt/pom.xml2
5 files changed, 31 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/.settings/.api_filters b/bundles/org.eclipse.swt/.settings/.api_filters
index 715f2c1742..6dd08a2a3b 100644
--- a/bundles/org.eclipse.swt/.settings/.api_filters
+++ b/bundles/org.eclipse.swt/.settings/.api_filters
@@ -248,6 +248,20 @@
</message_arguments>
</filter>
</resource>
+ <resource path="Eclipse SWT/common/org/eclipse/swt/SWT.java" type="org.eclipse.swt.SWT">
+ <filter id="336658481">
+ <message_arguments>
+ <message_argument value="org.eclipse.swt.SWT"/>
+ <message_argument value="COLOR_TEXT_DISABLED_BACKGROUND"/>
+ </message_arguments>
+ </filter>
+ <filter id="336658481">
+ <message_arguments>
+ <message_argument value="org.eclipse.swt.SWT"/>
+ <message_argument value="COLOR_WIDGET_DISABLED_FOREGROUND"/>
+ </message_arguments>
+ </filter>
+ </resource>
<resource path="Eclipse SWT/common/org/eclipse/swt/events/ArmListener.java" type="org.eclipse.swt.events.ArmListener">
<filter id="576720909">
<message_arguments>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java
index 1e57d1b62b..430f18c342 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java
@@ -3480,6 +3480,20 @@ public class SWT {
public static final int COLOR_TRANSPARENT = 37;
/**
+ * System color used to paint disabled text background areas (value is 38).
+ *
+ * @since 3.112
+ */
+ public static final int COLOR_TEXT_DISABLED_BACKGROUND = 38;
+
+ /**
+ * System color used to paint disabled foreground areas (value is 39).
+ *
+ * @since 3.112
+ */
+ public static final int COLOR_WIDGET_DISABLED_FOREGROUND = 39;
+
+ /**
* Draw constant indicating whether the drawing operation
* should fill the background (value is 1&lt;&lt;0).
*/
diff --git a/bundles/org.eclipse.swt/META-INF/MANIFEST.MF b/bundles/org.eclipse.swt/META-INF/MANIFEST.MF
index 448c1c8b5c..4c93b32706 100644
--- a/bundles/org.eclipse.swt/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.swt/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.swt; singleton:=true
-Bundle-Version: 3.111.100.qualifier
+Bundle-Version: 3.112.0.qualifier
Bundle-ManifestVersion: 2
Bundle-Localization: plugin
DynamicImport-Package: org.eclipse.swt.accessibility2
diff --git a/bundles/org.eclipse.swt/build.xml b/bundles/org.eclipse.swt/build.xml
index 5759a472a8..006f884c68 100644
--- a/bundles/org.eclipse.swt/build.xml
+++ b/bundles/org.eclipse.swt/build.xml
@@ -18,7 +18,7 @@
<target name="init">
<property name="plugin" value="org.eclipse.swt" />
- <property name="version.suffix" value="3.111.100" />
+ <property name="version.suffix" value="3.112.0" />
<property name="full.name" value="${plugin}_${version.suffix}" />
<property name="temp.folder" value="${basedir}/temp.folder" />
<property name="plugin.destination" value="${basedir}" />
diff --git a/bundles/org.eclipse.swt/pom.xml b/bundles/org.eclipse.swt/pom.xml
index 2b85881959..f71806a886 100644
--- a/bundles/org.eclipse.swt/pom.xml
+++ b/bundles/org.eclipse.swt/pom.xml
@@ -19,7 +19,7 @@
</parent>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt</artifactId>
- <version>3.111.100-SNAPSHOT</version>
+ <version>3.112.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<properties>

Back to the top