[MAGNOLIA-211] right mouse click popup should be extensible Created: 23/Nov/04  Updated: 17/Mar/09  Resolved: 27/May/05

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 2.0 Final
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Boris Kraft Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Currently, the right mouse click within the administration pane will popup a context menu with available actions. This menu is not extensible.

It would be cool if we had a mechanism in place that lets us easily extend this menu.



 Comments   
Comment by Philipp Bracher [ 27/May/05 ]
  • extraceted the context menu javascript from the tree (contextmenu.js)
  • added control.contextmenu class used by the tree control
  • prepareContextMenu in the AdminTreeMVCHandler

To manipulate the context menu do the following:
1) make a subclass of the specifig admin tree class (defined in the config)
2) override prepareContextMenu
3) change the registration in the config

I sparated the contextmenu and the tree, so that it should be possible to use it from everywhere.

Generated at Mon Feb 12 03:15:11 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.