Difference between revisions of "Drawing Framework Glossary"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Added back links to drawing framework, Impress and (yet missing) Draw)
(Added entries for the application, resource, and synchronization layer)
 
Line 1: Line 1:
 
This is the glossary of the [[Drawing framework]] of the [[Impress]] and [[Draw]] applications.
 
This is the glossary of the [[Drawing framework]] of the [[Impress]] and [[Draw]] applications.
  
 +
==Application Layer==
 +
Part of the drawing framework design that contains modules that implement application logic.
 +
A typical modul in this layer requests the activation or deactivation of a resource as reaction to user input or the activation or deactivation of another resource.  An example is the SlideSorterModule that shows or hides the slide sorter bar depending on the view that is displayed in the center pane.
  
 
==Command Group==
 
==Command Group==
Line 51: Line 54:
 
<pre>private:resource/floater/CenterPane, private:/view/SlideSorter</pre>
 
<pre>private:resource/floater/CenterPane, private:/view/SlideSorter</pre>
 
that describe the slide sorter bar in the left pane and the slide sorter view in the center pane.
 
that describe the slide sorter bar in the left pane and the slide sorter view in the center pane.
 +
 +
 +
==Resource Layer==
 +
Part of the drawing framework design that contains the resource controllers and factories that know how to activate or deactivate individual resources.  Objects in this layer are typically called by the XConfigurationController in the [[#Synchronization Layer|synchronization layer]] as a result to requests from modules in the [[#Application Layer|application layer]].
 +
 +
 +
==Synchronization Layer==
 +
Part of the drawing framework design that synchronizes requests made by modules in the [[#Application Layer|application layer]] and resource controllers and factories in the [[#Resource Layer|resource layer]].
 +
This layer basically consists of the XResourceControllers and supporting classes.
 +
 +
  
 
[[Category:Impress]]
 
[[Category:Impress]]

Latest revision as of 17:33, 5 December 2006

This is the glossary of the Drawing framework of the Impress and Draw applications.

Application Layer

Part of the drawing framework design that contains modules that implement application logic. A typical modul in this layer requests the activation or deactivation of a resource as reaction to user input or the activation or deactivation of another resource. An example is the SlideSorterModule that shows or hides the slide sorter bar depending on the view that is displayed in the center pane.

Command Group

A module that implements the com::sun::star::frame::XDispatch interface and that provides one or more commands.

Configuration

Set of active resources. A configuration may look like

private:resource/floater/CenterPane
    private:resource/toolbar/ViewTabBar
    private:resource/view/ImpressView
private:resource/floater/LeftImpressPane
    private:resource/view/SlideSorter
private:resource/floater/RightPane
    private:resource/view/TaskPane

which is the pretty version of

                                           private:resource/floater/CenterPane
private:resource/floater/CenterPane        private:resource/toolbar/ViewTabBar
private:resource/floater/CenterPane        private:resource/view/ImpressView
                                           private:resource/floater/LeftImpressPane
private:resource/floater/LeftImpressPane   private:resource/view/SlideSorter
                                           private:resource/floater/RightPane
private:resource/floater/RightPane         private:resource/view/TaskPane

where the target URLs are in the left column and the resource URLs are in the right column. The target URLs for the panes are of course not present.

Current Configuration

Configuration that contains the currently active resources. This may or may not be identical to the requested configuration.

Requested Configuration

Configuration that contains the resources whose activation has been requested. This may or may not be identical to the current configuration.


Resource

Resources known to the drawing framework are

This set can be extended by providing resource controllers and factories for other resources. Resource are described by ResourceIds.

ResourceId

A schema of two URLs to describe a resource managed by the drawing framework.

The resource URL describes the type of the URL. The optional second URL specifies the anchor to which the resource is bound. Two examples are

private:resource/floater/LeftImpressPane, private:/view/SlideSorter

and

private:resource/floater/CenterPane, private:/view/SlideSorter

that describe the slide sorter bar in the left pane and the slide sorter view in the center pane.


Resource Layer

Part of the drawing framework design that contains the resource controllers and factories that know how to activate or deactivate individual resources. Objects in this layer are typically called by the XConfigurationController in the synchronization layer as a result to requests from modules in the application layer.


Synchronization Layer

Part of the drawing framework design that synchronizes requests made by modules in the application layer and resource controllers and factories in the resource layer. This layer basically consists of the XResourceControllers and supporting classes.

Personal tools