Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-pmc] API request: Remove the style flag from StatusAdapter


Remove the style flag from StatusAdapter as this is not modifiable once sent to the StatusManager and has unclear behaviour in it's current form.

Move the flag to the StatusHandler#handle API (which is called by the StatusManager) and to the StatusManager#handler API (which is called by clients).

AFFECTED METHODS:
Remove:
AbstractStatusHandler#handle(StatusAdapter)
StatusAdapter#getStyle()
StatusAdapter#setStyle(int)

Add:
AbstractStatusHandler#handle(StatusAdapter,int). Note that this class is not
directly referenced by clients.
StatusManager#handle(StatusAdapter,int)

RISKS
This API is experimental however consumers of this API will need to update

KNOWN CONSUMERS
Platform UI

RISKS OF NOT MAKING THIS CHANGE
The current API will allow for defining style in both the StatusAdapter and the
StatusManager both of which can be called by client code and may potentially
conflict.

Back to the top