[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
user:ptacek:ff-extension [2007/04/18 15:07]
ptacek
user:ptacek:ff-extension [2007/04/18 15:43] (current)
ptacek
Line 3: Line 3:
   * nejlepe s pluginem do eclipsy [[http://xulbooster.org/]]   * nejlepe s pluginem do eclipsy [[http://xulbooster.org/]]
  
 +<code>
 +var domView =
 +Components.classes["@mozilla.org/inspector/dom-view;1"].createInstance(Components.interfaces.inIDOMView);
  
 +var domDocument = document.implementation.createDocument("", "", null);
 +domDocument.load('chrome://crawlermodelgen/content/morningstar.xml');
 +
 +domView.rootNode = domDocument;
 +domView.showWhitespaceNodes = true;
 +domView.showAnonymousContent = true;
 +domView.showSubDocuments = true;
 +domView.whatToShow &= (NodeFilter.SHOW_ALL);
 +
 +var sidebarTree = sidebar.document.getElementById("cmgDOMTree");
 +sidebarTreeBox.view = domView; 
 +</code>

[ Back to the navigation ] [ Back to the content ]