| Displsxing message of marker at caret position in status line [message #335301] | 
Tue, 31 March 2009 11:41   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi, 
 
I would like to display the message of the problem marker at the caret 
position (if there is one) in the status line (like JDT does). 
 
Could someone please either 
 
1. tell me, if there is an article out there on how to implement this. 
2. explain to me how this is done. 
3. point me to the corresponding JDT code. 
 
--  
Regards, 
Patrick 
 
--  
Patrick Schönbach 
Software Architect 
 
PGP public key available. Key ID: 0B7DDE39 
Or email to pgp@robustsoft.de with subject 'pschoenb'. 
Fingerprint: BE80 0E7E B68E CE99 623C  902D 62A6 806A 0B7D DE39 
 
web: http://www.itemis.de 
mail: schoenbach@itemis.de 
xing: https://www.xing.com/profile/Patrick_Schoenbach 
 
itemis AG 
Schauenburgerstraße 116 
24118 Kiel 
Germany 
 
Rechtlicher Hinweis: 
Amtsgericht Dortmund, HRB 20621 
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek 
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael 
Neuhaus
 |  
 |  
  | 
 | 
| Re: Displsxing message of marker at caret position in status line [message #335329 is a reply to message #335320] | 
Wed, 01 April 2009 13:19    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
On Wed, 01 Apr 2009 09:54:38 +0200, Daniel Megert wrote: 
> Take a look at:  
>  org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.selectionC hanged() and  
> updateStatusLine(). 
 
Basically, this works. However, the selection change listener is fired 
only whenever I select something, and not when I move the cursor. How to 
overcome that? 
 
--  
Regards, 
Patrick 
 
--  
Patrick Schönbach 
Software Architect 
 
PGP public key available. Key ID: 0B7DDE39 
Or email to pgp@robustsoft.de with subject 'pschoenb'. 
Fingerprint: BE80 0E7E B68E CE99 623C  902D 62A6 806A 0B7D DE39 
 
web: http://www.itemis.de 
mail: schoenbach@itemis.de 
xing: https://www.xing.com/profile/Patrick_Schoenbach 
 
itemis AG 
Schauenburgerstraße 116 
24118 Kiel 
Germany 
 
Rechtlicher Hinweis: 
Amtsgericht Dortmund, HRB 20621 
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek 
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael 
Neuhaus
 |  
 |  
  | 
| Re: Displsxing message of marker at caret position in status line [message #335331 is a reply to message #335329] | 
Wed, 01 April 2009 14:06   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
On Wed, 1 Apr 2009 19:19:23 +0200, Patrick Schönbach wrote: 
 
> On Wed, 01 Apr 2009 09:54:38 +0200, Daniel Megert wrote: 
>> Take a look at:  
>>  org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.selectionC hanged() and  
>> updateStatusLine(). 
>  
> Basically, this works. However, the selection change listener is fired 
> only whenever I select something, and not when I move the cursor. How to 
> overcome that? 
 
Ok, solved. 
 
--  
Regards, 
Patrick 
 
--  
Patrick Schönbach 
Software Architect 
 
PGP public key available. Key ID: 0B7DDE39 
Or email to pgp@robustsoft.de with subject 'pschoenb'. 
Fingerprint: BE80 0E7E B68E CE99 623C  902D 62A6 806A 0B7D DE39 
 
web: http://www.itemis.de 
mail: schoenbach@itemis.de 
xing: https://www.xing.com/profile/Patrick_Schoenbach 
 
itemis AG 
Schauenburgerstraße 116 
24118 Kiel 
Germany 
 
Rechtlicher Hinweis: 
Amtsgericht Dortmund, HRB 20621 
Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek 
Aufsichtsrat: Dr. Burkhard Igel(Vors.), Stephan Grollmann, Michael 
Neuhaus
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.04712 seconds