Difference between revisions of "OpenOffice.org Internship/Projects/2010/New Context Menu Implementation"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Agenda)
 
(6 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
This is a rough overview about the work which has to be done. Context menus are handled very differently by the application code. There are context menus which are created at run time and processed by internal code. Most of the context menu code use a generic class in the sfx2 project (SfxPopupMenuManager) to create/open a resource based menu.  
 
This is a rough overview about the work which has to be done. Context menus are handled very differently by the application code. There are context menus which are created at run time and processed by internal code. Most of the context menu code use a generic class in the sfx2 project (SfxPopupMenuManager) to create/open a resource based menu.  
  
* Create a popup menu XML file format (should based on the menu bar format)
+
* Create a popup menu XML file format (should based on the menu bar format) - DONE
* Implement a XML reader/writer for the popup menu XML file format
+
* Implement a XML reader/writer for the popup menu XML file format - DONE
* Extend the UI configuration API to manipulate popup menus
+
* Extend the UI configuration API to manipulate popup menus - DONE
* Extend the LayoutManager to create context menus
+
* Extend the LayoutManager to create context menus - CODE MUST BE ADAPTED TO LATEST LAYOUTMANAGER CHANGES DONE IN DEV300m94
* Remove the old SFX2 based code
+
* Remove the old SFX2 based code - PARTLY DONE
* Adapt the application code to use the new API for context menus (formerly used sfx code)
+
* Adapt the application code to use the new API for context menus (formerly used sfx code) - DONE
* Convert all context menus from resources to XML files (the old conversion code inside framework can be used)
+
* Convert all context menus from resources to XML files (the old conversion code inside framework can be used) - DONE FOR MOST CONTEXT MENUS (NOT ALL CAN BE CONVERTED - SOME ARE FILLED AT RUNTIME)
* Optional: Extend the customization dialog so users are able to customize their context menus.
+
* Optional: Extend the customization dialog so users are able to customize their context menus. - WORK IN PROGRESS (WAITING FOR FEEDBACK FROM UX TEAM)
* Optional: Extend the Addons.xcu file to merge entries into context menus
+
* Optional: Extend the Addons.xcu file to merge entries into context menus - STATUS UNKNOWN
  
 
== Preparations ==
 
== Preparations ==
  
 
* Create a CWS which will contain all the changes of the project.
 
* Create a CWS which will contain all the changes of the project.
 +
** The CWS is called [http://tools.services.openoffice.org/EIS2/cws.ShowCWS?logon=true&Id=9803&Path=DEV300%2Fcontextmenu1 contextmenu1]
  
 
= Project Status =
 
= Project Status =
  
* ([http://www.openoffice.org/issues/show_bug.cgi?id=113382 i113382])
+
* Issue for the project: [http://www.openoffice.org/issues/show_bug.cgi?id=113382 i113382]
  
 
* The project is accepted for the summer internship  
 
* The project is accepted for the summer internship  
 +
 +
* [[User:Arielch/Internship/Current_Context_Menu_Implementation | Current Context Menu Implementation]]
 +
 +
* [[User:Arielch/Internship/XML_file_format | XML file format]]
 +
 +
* [[User:Arielch/Internship/XML_Reader_and_Writer | XML Reader and Writer]]
 +
 +
* Ariel was kind enough to work further on this feature (although Internship ended 14th of November 2010)
 +
  
 
[[Category:Marketing]][[Category:Development]]
 
[[Category:Marketing]][[Category:Development]]
 
{{DISPLAYTITLE:Internship 2010: New Context Menu Implementation}}
 
{{DISPLAYTITLE:Internship 2010: New Context Menu Implementation}}

Latest revision as of 10:31, 24 November 2010

Overview

This project wants to exchange the old resource based context menus with a XML file based implementation. The menu bar, status bar and toolbars are already specified by XML files, can be accessed and customized by a UNO API.

Agenda

This is a rough overview about the work which has to be done. Context menus are handled very differently by the application code. There are context menus which are created at run time and processed by internal code. Most of the context menu code use a generic class in the sfx2 project (SfxPopupMenuManager) to create/open a resource based menu.

  • Create a popup menu XML file format (should based on the menu bar format) - DONE
  • Implement a XML reader/writer for the popup menu XML file format - DONE
  • Extend the UI configuration API to manipulate popup menus - DONE
  • Extend the LayoutManager to create context menus - CODE MUST BE ADAPTED TO LATEST LAYOUTMANAGER CHANGES DONE IN DEV300m94
  • Remove the old SFX2 based code - PARTLY DONE
  • Adapt the application code to use the new API for context menus (formerly used sfx code) - DONE
  • Convert all context menus from resources to XML files (the old conversion code inside framework can be used) - DONE FOR MOST CONTEXT MENUS (NOT ALL CAN BE CONVERTED - SOME ARE FILLED AT RUNTIME)
  • Optional: Extend the customization dialog so users are able to customize their context menus. - WORK IN PROGRESS (WAITING FOR FEEDBACK FROM UX TEAM)
  • Optional: Extend the Addons.xcu file to merge entries into context menus - STATUS UNKNOWN

Preparations

  • Create a CWS which will contain all the changes of the project.

Project Status

  • The project is accepted for the summer internship
  • Ariel was kind enough to work further on this feature (although Internship ended 14th of November 2010)
Personal tools