Difference between revisions of "Documentation/DevGuide/Extensions/Defining a Module"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial author Sun Microsystems, Inc.)
 
(FINAL VERSION FOR L10N)
 
(4 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/Extensions/Absolute Position of Nodes
 
|NextPage=Documentation/DevGuide/Extensions/Absolute Position of Nodes
 
}}
 
}}
 +
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Extensions/{{SUBPAGENAME}}}}
 
{{DISPLAYTITLE:Defining a Module}}
 
{{DISPLAYTITLE:Defining a Module}}
 
It is possible to define a Module of one's own. How an extension can provide a real module (not the type Module) is not part of this documentation. However, if this module does not exist, there won´t be an options dialog on behalf of this module and the Nodes assigned to it are not displayed. Only the options dialog from the Extension Manager may show the nodes because it does not depend on a particular module.  
 
It is possible to define a Module of one's own. How an extension can provide a real module (not the type Module) is not part of this documentation. However, if this module does not exist, there won´t be an options dialog on behalf of this module and the Nodes assigned to it are not displayed. Only the options dialog from the Extension Manager may show the nodes because it does not depend on a particular module.  
  
 
Here is an example of defining a Module.
 
Here is an example of defining a Module.
 
+
<source lang="xml">
  <nowiki><node oor:name="Modules">
+
  <node oor:name="Modules">
 
     <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.module1"
 
     <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.module1"
 
oor:op="fuse">
 
oor:op="fuse">
Line 16: Line 17:
 
oor:op="fuse">
 
oor:op="fuse">
 
       </node>
 
       </node>
     </node></nowiki>
+
     </node>
 +
</source>
 +
{{PDL1}}
  
{{PDL1}}
+
[[Category:Documentation/Developer's Guide/Extensions]]
[[Category: Extensions]]
+

Latest revision as of 10:17, 13 May 2009



It is possible to define a Module of one's own. How an extension can provide a real module (not the type Module) is not part of this documentation. However, if this module does not exist, there won´t be an options dialog on behalf of this module and the Nodes assigned to it are not displayed. Only the options dialog from the Extension Manager may show the nodes because it does not depend on a particular module.

Here is an example of defining a Module.

  <node oor:name="Modules">
    <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.module1"
oor:op="fuse">
      <node oor:name="org.openoffice.framework.desktop.test.deployment.options.modules1.module2"
oor:op="fuse">
      </node>
    </node>
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages