Commit graph

5 commits

Author SHA1 Message Date
Frank Schoenheit [fs]
cd3ef5819c slidecopy: initial implementation for custom tool panels
The idea is to allow third-party components to plug additional tool panels into the task pane,
by using the drawing framework (http://wiki.services.openoffice.org/wiki/Drawing_framework).

This first step is not finished at all, it just adds a configuration scheme/data for such
custom tool panels, and implements basic functionality in the ToolPanelDeck to respect this
config data. Additionally, the first version of an example extension for a custom tool panel
is implemented in sd/workben/custompanel.

Still, except showing a drawer in the tool panel deck, representing the custom panel, nothing
works. More to come :)
2010-03-18 15:25:13 +01:00
Frank Schoenheit [fs]
e966bf219e slidecopy: keyboard accessibility for the ToolPanelDrawer implementation 2010-03-17 09:21:56 +01:00
Frank Schoenheit [fs]
d6cc951ebb slidecopy: add a IDeckLayouter implementation which mimics the old task panel look/behavior. In non-release builds, allow to switch between this old and the new (not yet polished) tab layout via the task pane's menu 2010-03-16 23:44:33 +01:00
Frank Schoenheit [fs]
c2297610c5 slidecopy: de/activate panels via the drawing framework
Instead of simply letting svtool's ToolPanelDeck decide on panel activation, requests are re-routed through
the view's ConfigurationController. So, clicking onto a tab just requests the activation of the respective
resource, which in turn - when the requested configuration becomes the active configuration - will activate
the ToolPanel.
2010-03-16 13:36:35 +01:00
Frank Schoenheit [fs]
f391eb8768 slidecopy: initial version of a "Tool Panel"
At the moment, this implementation is parallel to the existing TaskPane implementation, but on the medium term, it is
intended to replace it. No change in functionality is planned for the moment, just the panel selection is done via
a tab bar, instead of the the "jumping drawers".
Pending tasks (as known so far):
- Accessibility. No implementation at all, yet.
- showing/hiding tool panels from the "View" drop down menu
- connection to the resource framework. At the moment, de/activating panels completely bypasses the resource
  framework.
- alternative implementation of the PanelDeckLayouter which mimics the old design. To be activated by default, for
  the moment.
- removal of the (old, by then) TaskPane implementation. Care needs to be taken that the framework API stays
  unchanged, i.e., the current ToolPanel resource must be renamed back to RightPane when RightPane is not
  occupied anymore by the old implementation. Same for other resource names.
2010-03-15 13:53:19 +01:00