Community
Participate
Working Groups
<rcjsuen> emoffatt: How is a developer supposed to get a status line via MWindowTrim? <emoffatt> rcjsuen: why not use the getActionBars API ? <rcjsuen> emoffatt: (3.x) action bars ultimately delegates to a JFace ApplicationWindow <emoffatt> are we talking for a 3.x user or an e4 implementation ? <rcjsuen> emoffatt: An e4 implementation. <rcjsuen> We implement the compatibility layer using e4 APIs as much as possible, so I am interested in an e4 implementation. <emoffatt> np, findById (as long as we give it an id (I think it already has one in 3.x <emoffatt> We'll likely need to add a new model element 'TrimElement' or some such to provide a rendering hook
Remy pointed me to this bug. I believe the e4 model should offer the possibility to add a status line to the application. This is in my opinion not only relevant for 3.X applications but also for pure e4 applications.
The question is whether we want an 'integrated' status line (a la StatusLineManager) or should we perhaps just allow folks to model whatever (allowable) structure they desire. Currently eclipse has both; a specialized status line as well as other widgets that appear at the bottom (FVB, progress, HeapStatus...). It's somehow always seemed to me that we should have one or the other.
In my experience the shared status line is not as useful as information you put there is always overwritten by other plugins. I think it would be useful to allow to model individual parts in a statusline area which can then be individually accessed. I hope I got your comment correct.
Sounds like you nailed it to me. If we need to add flexibility to handle multiple contributions then we could add the equivalent of 'visibleWhen' clauses to then model.
@Eric, is this bug still relevant?
Lars....'yes', it's just a part of the overall effort to 'flesh out' e4 RCP. Good Pickup.
Lars, I'm leaving this one open but I think we might re-purpose it to allow a 'visibleWhen' clause on to almost any UI element (MToolBar, MTrimControl, MPart?). What do you think ?
(In reply to Eric Moffatt from comment #7) > Lars, I'm leaving this one open but I think we might re-purpose it to allow > a 'visibleWhen' clause on to almost any UI element (MToolBar, MTrimControl, > MPart?). > > What do you think ? +1
Currently e4 RCP application can define their custom status bar. I think this works well. Marking as WORKSFORME.