Hi Антон,

On Wed, Feb 12, 2014 at 02:21:19AM +0400, Антон Борисов wrote:
> Dear all,
>  It's possible to show and hide Sidebar by java code in extension by
> dispatch framework or by another way ?
>  I haven't found anything by searching

Are you trying to simply show/hide the sidebar? That would be
dispatching the respective command: ".uno:Sidebar". Dispatching will
toggle the sidebar visibility. You can also dispatch only when needed,
get a single status update by adding and removing a status listener at
the dispatch object; in the .uno:Sidebar case,
css.frame.FeatureStateEvent.State is bool, where true means the sidebar is
visible, false it hidden.

If you want to display some specific deck or panel, then it is
impossible. In theory, panels are UI elements with resource URL schema
"private:resource/toolpanel/", and the code is still there, but it is
broken, you cannot use the LayoutManager to show/hide panels.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpAIbGdAB6FO.pgp
Description: PGP signature

Reply via email to