diff --git a/openide.io/apichanges.xml b/openide.io/apichanges.xml --- a/openide.io/apichanges.xml +++ b/openide.io/apichanges.xml @@ -107,6 +107,24 @@ + + + Added LOG_SUCCESS, LOG_FAILURE, LOG_WARNING and LOG_DEBUG into IOColors.OutputType to be able to specify a color of logging messages. + + + + + +

+ Added enum elements LOG_SUCCESS, LOG_FAILURE, LOG_WARNING + and LOG_DEBUG into IOColors.OutputType + that can be passed to get/setColor methods to have access + to color of standard logging messages. +

+
+ + +
Added IOColors.OutputType.INPUT to be able to specify a color of input text. diff --git a/openide.io/manifest.mf b/openide.io/manifest.mf --- a/openide.io/manifest.mf +++ b/openide.io/manifest.mf @@ -1,6 +1,6 @@ Manifest-Version: 1.0 OpenIDE-Module: org.openide.io -OpenIDE-Module-Specification-Version: 1.39 +OpenIDE-Module-Specification-Version: 1.40 OpenIDE-Module-Localizing-Bundle: org/openide/io/Bundle.properties OpenIDE-Module-Recommends: org.openide.windows.IOProvider, org.openide.windows.IOContainer$Provider AutoUpdate-Essential-Module: true diff --git a/openide.io/src/org/openide/windows/IOColors.java b/openide.io/src/org/openide/windows/IOColors.java --- a/openide.io/src/org/openide/windows/IOColors.java +++ b/openide.io/src/org/openide/windows/IOColors.java @@ -91,6 +91,22 @@ /** input text * @since 1.39 */ INPUT, + /** Info about success. Change is not guaranteed to affect colored + * output written in the past. + * @since 1.40 */ + LOG_SUCCESS, + /** Info about failure. Change is not guaranteed to affect colored + * output written in the past. + * @since 1.40 */ + LOG_FAILURE, + /**Info about warning. Change is not guaranteed to affect colored + * output written in the past. + * @since 1.40 */ + LOG_WARNING, + /** Debugging info. Change is not guaranteed to affect colored + * output written in the past. + * @since 1.40 */ + LOG_DEBUG } /**