Re: [Pydev-code] Writing to the Eclipse status area from a Jython Pydev extension
Brought to you by:
fabioz
|
From: Fabio Z. <fa...@gm...> - 2006-05-19 17:08:34
|
Actually, you probably want to ask the status manager to the editor.
Something as below (untested):
statusLine =3D editor.getAdapter(IEditorStatusLine.class);
if statusLine is not None:
statusLine.setMessage(False, "foo", None)
On 5/19/06, Don Taylor <nos...@gm...> wrote:
>
> Fabio:
>
> I am trying to write a message to the status area on the bottom of the
> Eclipse screen, but I can't get it working.
>
> This is what I have so far:
>
> if cmd =3D=3D 'onCreateActions':
> ...
> from org.eclipse.jface.action import StatusLineManager
>
> ...
>
> self.statusLine =3D StatusLineManager()
> self.statusLine.setMessage("hello")
> self.statusLine.update(True)
>
> Maybe I need to call createControl() but I don't know what to supply as
> the 'parent' parameter.
>
> Any pointers will be appreciated.
>
> Don.
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim=
o
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> _______________________________________________
> pydev-code mailing list
> pyd...@li...
> https://lists.sourceforge.net/lists/listinfo/pydev-code
>
|