Community
Participate
Working Groups
I20090917-0100 The special code in JavaEditor that improves status message handling (ensure a minimal display time for an error message) should be moved to EditorStatusLine. This would let all editors get the good behavior for free and also support it for clients of JavaEditor that use 'editor.getAdapter(IEditorStatusLine.class).setMessage(..)' (e.g. RenameJavaElementAction#doRun(), where the message currently does not persist when Alt+Shift+R is pressed while an unresolved variable name is selected).
We have to be careful. Not all editors might desire such a behavior (change). >RenameJavaElementAction#doRun(), where the message currently does not persist >when Alt+Shift+R is pressed while an unresolved variable name is selected) I could not find a setMessage there. For now we could make JavaEditor.setStatusLineErrorMessage(String) and org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.setStatusLineErrorMessage(String) and setStatusLineMessage(String) public, so that we can use it in JDT.
>>RenameJavaElementAction#doRun(), where the message currently does not persist >>when Alt+Shift+R is pressed while an unresolved variable name is selected) >I could not find a setMessage there. See it now after updating from HEAD.
> We have to be careful. Not all editors might desire such a behavior (change). Could also add IEditorStatusLineExtension with setStickyErrorMessage(String message, Image image). > For now we could make JavaEditor.setStatusLineErrorMessage(String) public Done that in HEAD.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.