Community
Participate
Working Groups
Vendors specific icons in the CNF-based Servers view are shown only when the server's state is UNKNOWN. When the server's state changes to something else, e.g. STARTED, then the icons is replaced with an icon of a generic server with a decorator showing the current state. I would expect to have the vendor specific icon all the time and a decorator over it showing the current state.
We wanted to get this for 3.1 but it became to risky to change during shutdown. The current behaviour is that we use the old state icon, but because the state icon comes with the server, not only the play/stoppped icon, the full image gets overwritten. Definitely something that we want to fix.
Moving out to 3.1.2, we don't have time to fix this minor UI problem, in 3.1.1
We have to create a new icon for this to work correctly. I rather leave the 3.1 functionality as it is, and come up with something for 3.2.
*** Bug 258650 has been marked as a duplicate of this bug. ***
Created attachment 177128 [details] v1.0 This code works, but I would like to do improvements on it later. With this code we are overlaying the state icon using the ServerLabelDecorator that is by default on the view, but I would prefer that we do it using the ServerDecorator. So that the image turns off automaticaly with the decorator.
Changes committed to 32M and released to 32M
Changes committed to HEAD and released to HEAD
To clarify comment #5. ServerLabelDecorator will be the default class that provides the server adopter provided image to the view. That class will also be the one responsible for overlaying the icon. The overlay is what I will be improving on later, so that the overlay is done by the ServerDecorator class, which is the class that provides the state and status text for the view.
fixed
New Gerrit change created: https://git.eclipse.org/r/108978