- Timestamp:
- 03/05/10 12:43:33 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_Wsp/modules/scenariWsp/views/outlineView/OutlineViewController.jsm
r14878 r15037 61 61 this.fWindow.desk.addDeskInfoListener(this); 62 62 //Déclaration de l'action pour ouvrir la view. 63 pWindow.extPoints.registerSvcByInst("actionOpenOutlineView", 1, new ActionOpenOutlineView(this) );63 pWindow.extPoints.registerSvcByInst("actionOpenOutlineView", 1, new ActionOpenOutlineView(this), true); 64 64 //Ajout dans les menus contextuels relatifs aux uris. 65 65 pWindow.extPoints.addSvcToList("menu:common:uri", "actionOpenOutlineView", 1, "actionOpenOutlineView"); … … 111 111 ActionOpenOutlineView.prototype = new actions.Action("actionOpenOutlineView").setGroup("uriActions").setLabel("Afficher le plan"); 112 112 ActionOpenOutlineView.prototype.isVisible = function(pContext){ 113 return pContext.scWsp && 113 return pContext.window.top === this.fController.fWindow.top && 114 pContext.scWsp && 114 115 pContext.shortDesc && 115 116 this.fController.fOutlineView &&
Note: See TracChangeset
for help on using the changeset viewer.