We don't want to instantiate anything (and possibly start a number of
bundles) just to synchronize states.  ToggleState from 3.x serves that
purpose, to save the state so that on restart it can be set correctly.

In Eclipse4, the same pattern would be that the HandledContributionItem
keeps a persistedState key up to date in the model, and as part of a HCI
creation it reads that state.

Although that begs the question, if the model item is "selected" are we
just not setting the checked state on startup.

I'd also suggest you open a bug, these kinds of discussions should happen
there.

Later,
Paul

-- 
Paul Webster
Hi floor.  Make me a sammich! - GIR
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to