31 #include "nsISupports.idl"
34 interface nsIRDFDataSource;
35 interface nsIRDFResource;
36 interface nsIDOMXULElement;
41 interface nsIDragSession;
42 interface nsIDOMDataTransfer;
43 interface nsIStringBundle;
51 [scriptable,
uuid(7515c2f0-17cf-480e-bf15-8eb1f168783b)]
63 attribute AString
url;
170 [scriptable,
function,
uuid(fd541806-1dd1-11b2-9a3d-d7ba87856d00)]
180 [scriptable,
uuid(3d36154b-d7d0-4abe-9ba4-475a7caf4b16)]
192 in AString aNamespace, in AString aOldVal, in AString aNewVal);
215 [scriptable,
uuid(0c86331b-6767-4595-95e7-80f775ab1770)]
236 [scriptable,
uuid(47704d11-ee27-458f-8baf-adc644e629d4)]
260 in
boolean aContainer);
283 [optional] in
unsigned long aMatchLevel);
324 in nsIDOMXULElement aContextMenu,
333 in nsIDOMXULElement aContextMenu,
342 in nsIDOMNode aContainer,
347 in nsIDragSession aDragSession,
348 in PRInt32 aOrientation,
352 in nsIDragSession aDragSession,
353 in PRInt32 aOrientation,
357 in nsIDOMDataTransfer aDataTransfer);
372 in AString aNewName);
390 [scriptable,
uuid(2ece4c56-1dd2-11b2-9cc4-8a248cad3050)]
406 in nsIDOMXULElement aContextMenu,
410 in nsIDOMXULElement aContextMenu,
418 in nsIDOMNode aContainer,
422 in nsIDragSession aDragSession,
423 in PRInt32 aOrientation,
426 in nsIDragSession aDragSession,
427 in PRInt32 aOrientation,
430 in nsIDOMDataTransfer aDataTransfer);
445 in AString aNewName);
sbIServicePaneNode getNode(in AString aId)
void nodeRemoved(in sbIServicePaneNode aNode, in sbIServicePaneNode aParent)
Called after a node is removed from the service pane tree.
PRBool onDragGesture(in sbIServicePaneNode aNode, in nsIDOMDataTransfer aDataTransfer)
attribute AString dndAcceptNear
attribute AString className
void fillContextMenu(in sbIServicePaneNode aNode, in nsIDOMXULElement aContextMenu, in nsIDOMWindow aParentWindow)
void servicePaneInit(in sbIServicePaneService aServicePaneService)
AString setAttribute(in AString aName, in AString aValue)
readonly attribute AString stringbundle
nsIArray getNodesByAttributeNS(in AString aNamespace, in AString aName, in AString aValue)
readonly attribute sbIServicePaneNode previousSibling
void removeEventListener(in sbIServicePaneNodeListener aListener)
attribute AString properties
void onSelectionChanged(in sbIServicePaneNode aNode, in nsIDOMNode aContainer, in nsIDOMWindow aParentWindow)
void removeAttribute(in AString aName)
AString getAttributeNS(in AString aNamespace, in AString aName)
readonly attribute sbIServicePaneNode parentNode
PRBool canDrop(in sbIServicePaneNode aNode, in nsIDragSession aDragSession, in PRInt32 aOrientation, in nsIDOMWindow aWindow)
void fillNewItemMenu(in sbIServicePaneNode aNode, in nsIDOMXULElement aContextMenu, in nsIDOMWindow aParentWindow)
boolean hasAttributeNS(in aString aNamespace, in AString aName)
PRBool canDrop(in sbIServicePaneNode aNode, in nsIDragSession aDragSession, in PRInt32 aOrientation, in nsIDOMWindow aWindow)
void addListener(in sbIServicePaneListener aListener)
const unsigned long URL_MATCH_EXACT
void onSelectionChanged(in sbIServicePaneNode aNode, in nsIDOMNode aContainer, in nsIDOMWindow aParentWindow)
void removeChild(in sbIServicePaneNode aChild)
PRBool onDragGesture(in sbIServicePaneNode aNode, in nsIDOMDataTransfer aDataTransfer)
void removeAttributeNS(in AString aNamespace, in AString aName)
sbIServicePaneNode insertBefore(in sbIServicePaneNode aNewNode, in sbIServicePaneNode aAdjacentNode)
AString getAttribute(in AString aName)
attribute AString contentPrefix
A prefix for URLs associated with this node. This prefix is used to test urls when sbIServicePaneServ...
void onBeforeRename(in sbIServicePaneNode aNode)
void nodePropertyChanged(in string aNodeId, in string aAttributeName)
A node attribute has changed.
readonly attribute AString displayName
The interface to be implemented by node mutation listeners added via sbIServicePaneNode.addListener()
void onDrop(in sbIServicePaneNode aNode, in nsIDragSession aDragSession, in PRInt32 aOrientation, in nsIDOMWindow aWindow)
attribute boolean editable
Listen for changes on service pane nodes.
sbIServicePaneNode appendChild(in sbIServicePaneNode aChild)
void nodeInserted(in sbIServicePaneNode aNode, in sbIServicePaneNode aParent, in sbIServicePaneNode aInsertBefores)
Called after a node is added to the service pane tree.
readonly attribute sbIServicePaneNode root
The root of the tree.
attribute AString dndDragTypes
readonly attribute sbIServicePaneNode nextSibling
boolean hasAttribute(in AString aName)
sbIServicePaneNode addNode(in AString aId, in sbIServicePaneNode aParent, in boolean aContainer)
readonly attribute nsIStringEnumerator attributes
enumerator returning names of node attributes
The interface to be implemented by node event listeners added via sbIServicePaneNode.addEventListener()
AString setAttributeNS(in AString aNamespace, in AString aName, in AString aValue)
sbIServicePaneNode createNode()
readonly attribute sbIServicePaneNode firstChild
attribute AString stringbundle
sbIServicePaneNode getNodeForURL(in AString aURL, [optional] in unsigned long aMatchLevel)
void onBeforeRename(in sbIServicePaneNode aNode)
void fillNewItemMenu(in sbIServicePaneNode aNode, in nsIDOMXULElement aContextMenu, in nsIDOMWindow aParentWindow)
void addMutationListener(in sbIServicePaneMutationListener aListener)
Adds mutation listener that will be called whenever a node or one of its children get modified...
void replaceChild(in sbIServicePaneNode aNewNode, in sbIServicePaneNode aOldNode)
readonly attribute boolean isContainer
void removeNode(in sbIServicePaneNode aNode)
readonly attribute nsISimpleEnumerator childNodes
enumerator returning node's child nodes
attribute AString dndAcceptIn
void sortNode(in sbIServicePaneNode aNode)
void onRename(in sbIServicePaneNode aNode, in AString aNewName)
void addEventListener(in sbIServicePaneNodeListener aListener)
Event listeners that will be called whenever the node gets notified that the given event has occured ...
void onRename(in sbIServicePaneNode aNode, in AString aNewName)
void removeMutationListener(in sbIServicePaneMutationListener aListener)
Removes a previously added mutation listener.
The interface to interact with a particular node in the service pane.
attribute AString searchtype
attribute AString tooltip
attribute AString contractid
void attrModified(in sbIServicePaneNode aNode, in AString aAttrName, in AString aNamespace, in AString aOldVal, in AString aNewVal)
Called after a node attribute changes.
void dispatchEvent(in AString event)
void handleEvent(in AString aEventName)
The interface exposed by the service pane backends.
void removeListener(in sbIServicePaneListener aListener)
const unsigned long URL_MATCH_PREFIX
readonly attribute sbIServicePaneNode lastChild
void fillContextMenu(in sbIServicePaneNode aNode, in nsIDOMXULElement aContextMenu, in nsIDOMWindow aParentWindow)
The interface exposed by the service pane service.
void onDrop(in sbIServicePaneNode aNode, in nsIDragSession aDragSession, in PRInt32 aOrientation, in nsIDOMWindow aWindow)