[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: customize status bar..

StatusLineContributionItem is the example. Look at who is creatings
instances of it. You should see 3 instances created to represent the
Writable/Readonly, Insert/Overwrite, and Line/Col Positions fields when a
text editor is open. If you look at the code creating these 3 instances, you
will see how they add then to the status line manager.

My suggestion to you is to load all the plugins ship with eclipse into your
workspace as binary projects (File > Import > External Plug-ins and
Fragments, press next, press next again, press select all, press finish).
The you can open StatusLineContributionItem and use the java tools to find
references to it.

Simon :-)

"nmg" <nmg_here@xxxxxxxxx> wrote in message
news:b6hb5m$t6p$1@xxxxxxxxxxxxxxxx
> could not find any example at
> org.eclipse.ui.texteditor.StatusLineContributionItem, can you check that
> once more? Moreover, i already have an access to statuslinemanager and i
> can even setmessages in the status bar... what I am looking is to have
> some divisions in the bar as seen normally in other standard applications.
> I tried with contributionitem stuff but didnot get any positive results.
> please help!
>
> Simon Arsenault wrote:
>
> > From a view or editor, get access to the IActionBar. There, you have
access
> > to the status line manager. You can add contribution items to it.
>
> > Look at org.eclipse.ui.texteditor.StatusLineContributionItem for an
example
> > of a contribution item used by the text editor.
>
> > Simon :-)
>
> > "nmg" <nmg_here@xxxxxxxxx> wrote in message
> > news:b6c1p7$gi1$1@xxxxxxxxxxxxxxxx
> > > Hello everybody,
> > > how can I split the status bar to show some additional info?...just
like
> > > the status bars found on internet exlorer/eclipse IDE etc.
> > >
> > > thanks in advance.
> > >
> > >
>
>
>
>
>