- Timestamp:
- 03/02/10 10:57:16 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_Wsp/content/scenariWsp/views/wspNavView/wspNavView.xbl.xml
r14843 r14994 56 56 <content flex="1" orient="vertical" label="Explorateur" iconUrl="" longDesc="Explorateur de l'atelier" contextmenu="_child"> 57 57 <xul:menupopup actionsLists="menu:wspNavView menu:common:uri" groupsOrder="uriCopyPaste uriEdit uriCreate uriActions * uriActionsOut" xbl:inherits="groupsOrder" onpopupshowing="return this.parentNode.fViewMgr.onPopupShowing(event);" onpopuphiding="this.parentNode.fViewMgr.onPopupHiding(event);" onclick="event.stopPropagation();"/> 58 <xul:vbox anonid="noContent" hidden="true"> 59 <xul:description>Cet atelier est vide.</xul:description> 60 <xul:description>Commencez par créer un espace de travail, vous pourrez ensuite créer des items.</xul:description> 61 <xul:button label="Créer un espace" oncommand="document.getBindingParent(this).fViewMgr.createSpace(event);"/> 62 </xul:vbox> 58 63 <xul:tree flex="1" hidecolumnpicker="true" seltype="single" _selectDelay="500" flags="dont-build-content"> 59 64 <xul:treecols> … … 68 73 <xul:iframe class="itemViewPreview" style="overflow:hidden;" hidden="true" width="350" height="150" xbl:inherits="width=widthpreview, height=heightpreview"/> 69 74 </xul:tooltip> 70 <xul:iframe anonid="iframe" flex="0" style="visibility: collapse;"/><!-- For zip download... XXX Better way ?-->71 75 </content> 72 76 … … 80 84 var vWsp = desk.getWsp(); 81 85 Components.utils.import("resource://scenariWsp/views/wspNavView/WspNavView.jsm", this); 82 this.fViewMgr = new this.WspNavView(window, vWsp, this.fTree, document.getAnonymousElementByAttribute(this, "anonid", "tooltip") );86 this.fViewMgr = new this.WspNavView(window, vWsp, this.fTree, document.getAnonymousElementByAttribute(this, "anonid", "tooltip"), document.getAnonymousElementByAttribute(this, "anonid", "noContent")); 83 87 this.fViewMgr.setAccelKeyMgr(new actions.AccelKeyMgr().initFromMapActions(extPoints.mergeListsAsMap(["accelKey:wspNavView", "accelKey:common:uri"]))); 84 88 }catch(e){log.debug("wspNavView.onViewShown:: " + e);}
Note: See TracChangeset
for help on using the changeset viewer.