@HelpSetRegistration
authorJesse Glick <jglick@netbeans.org>
Wed, 07 Dec 2011 14:14:22 -0500
changeset 17703308a0ce3beea
parent 17702 86fa35cee3dc
child 17704 900f30d4b05a
@HelpSetRegistration
apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-eg.html
apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-hs.xml
apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-lookup.html
apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-map.xml
apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-toc.xml
apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser.html
apisupport.beanbrowser/manifest.mf
apisupport.beanbrowser/nbproject/project.properties
apisupport.beanbrowser/nbproject/project.xml
apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/beanbrowser-helpset.xml
apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-eg.html
apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-hs.xml
apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-lookup.html
apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-map.xml
apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-toc.xml
apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser.html
apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/package-info.java
apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/layer.xml
     1.1 --- a/apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-eg.html	Mon Dec 05 09:41:32 2011 -0500
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,79 +0,0 @@
     1.4 -<!--
     1.5 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     1.6 -
     1.7 -Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
     1.8 -
     1.9 -
    1.10 -The contents of this file are subject to the terms of either the GNU
    1.11 -General Public License Version 2 only ("GPL") or the Common
    1.12 -Development and Distribution License("CDDL") (collectively, the
    1.13 -"License"). You may not use this file except in compliance with the
    1.14 -License. You can obtain a copy of the License at
    1.15 -http://www.netbeans.org/cddl-gplv2.html
    1.16 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
    1.17 -specific language governing permissions and limitations under the
    1.18 -License.  When distributing the software, include this License Header
    1.19 -Notice in each file and include the License file at
    1.20 -nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
    1.21 -particular file as subject to the "Classpath" exception as provided
    1.22 -by Sun in the GPL Version 2 section of the License file that
    1.23 -accompanied this code. If applicable, add the following below the
    1.24 -License Header, with the fields enclosed by brackets [] replaced by
    1.25 -your own identifying information:
    1.26 -"Portions Copyrighted [year] [name of copyright owner]"
    1.27 -
    1.28 -Contributor(s):
    1.29 -
    1.30 -The Original Software is NetBeans. The Initial Developer of the Original
    1.31 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    1.32 -Microsystems, Inc. All Rights Reserved.
    1.33 -
    1.34 -If you wish your version of this file to be governed by only the CDDL
    1.35 -or only the GPL Version 2, indicate your decision by adding
    1.36 -"[Contributor] elects to include this software in this distribution
    1.37 -under the [CDDL or GPL Version 2] license." If you do not indicate a
    1.38 -single choice of license, a recipient has the option to distribute
    1.39 -your version of this file under either the CDDL, the GPL Version 2 or
    1.40 -to extend the choice of license to its licensees as provided above.
    1.41 -However, if you add GPL Version 2 code and therefore, elected the GPL
    1.42 -Version 2 license, then the option applies only if the new code is
    1.43 -made subject to such option by the copyright holder.
    1.44 --->
    1.45 -
    1.46 -<html><head>
    1.47 -<title>NetBeans Runtime Inspector - Demo</title>
    1.48 -<link rel="stylesheet" href="nbdocs:/org/netbeans/modules/usersguide/ide.css" type="text/css">
    1.49 -</head><body>
    1.50 -
    1.51 -<h2>NetBeans Runtime Inspector Demo</h2>
    1.52 -
    1.53 -<p>Here is an example of what you can do with the inspector:
    1.54 -
    1.55 -<OL>
    1.56 -
    1.57 -<LI>Go to <b>Runtime&nbsp;| NetBeans&nbsp;Runtime</b>.
    1.58 -Maximize the window to make sure there is enough
    1.59 -room to see many nodes. Open a Property Sheet if there is not
    1.60 -yet one open.
    1.61 -
    1.62 -<LI><b>Lookup&nbsp;results</b> -&gt; <b>org.openide.windows.WindowManager</b>.
    1.63 -
    1.64 -<LI><b>org.netbeans.core.windows.WindowManagerImpl</b> -&gt; <b>Properties</b>.
    1.65 -
    1.66 -<LI><b>mainWindow</b> -&gt; <b>Components</b>.
    1.67 -
    1.68 -<LI><i>(only child)</i> -&gt; <b>Components</b>.
    1.69 -
    1.70 -<LI><b>null.layeredPane</b> -&gt; <b>Components</b>.
    1.71 -
    1.72 -<LI><i>(MenuBar)</i> -&gt; <b>Components</b>.
    1.73 -
    1.74 -<LI>First child: property <b>text</b> in Property Sheet should read <code>File</code>.
    1.75 -
    1.76 -<LI>Change property to <code>Phile</code>. IDE menu bar should change.
    1.77 -
    1.78 -</OL>
    1.79 -
    1.80 -<p>Remember to look at tool tips on the nodes, and have fun browsing the IDE!
    1.81 -
    1.82 -</body></html>
     2.1 --- a/apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-hs.xml	Mon Dec 05 09:41:32 2011 -0500
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,21 +0,0 @@
     2.4 -<?xml version="1.0" encoding="UTF-8"?>
     2.5 -<!DOCTYPE helpset PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN" "http://java.sun.com/products/javahelp/helpset_2_0.dtd">
     2.6 -<helpset version="2.0">
     2.7 -    <title>NetBeans Runtime Inspector Help</title>
     2.8 -    <maps>
     2.9 -        <homeID>org.netbeans.modules.apisupport.beanbrowser</homeID>
    2.10 -        <mapref location="beanbrowser-map.xml"/>
    2.11 -    </maps>
    2.12 -    <view mergetype="javax.help.AppendMerge">
    2.13 -        <name>TOC</name>
    2.14 -        <label>Table of Contents</label>
    2.15 -        <type>javax.help.TOCView</type>
    2.16 -        <data>beanbrowser-toc.xml</data>
    2.17 -    </view>
    2.18 -    <view>
    2.19 -        <name>Search</name>
    2.20 -        <label>Search</label>
    2.21 -        <type>javax.help.SearchView</type>
    2.22 -        <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
    2.23 -    </view>
    2.24 -</helpset>
     3.1 --- a/apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-lookup.html	Mon Dec 05 09:41:32 2011 -0500
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,75 +0,0 @@
     3.4 -<!--
     3.5 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     3.6 -
     3.7 -Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
     3.8 -
     3.9 -
    3.10 -The contents of this file are subject to the terms of either the GNU
    3.11 -General Public License Version 2 only ("GPL") or the Common
    3.12 -Development and Distribution License("CDDL") (collectively, the
    3.13 -"License"). You may not use this file except in compliance with the
    3.14 -License. You can obtain a copy of the License at
    3.15 -http://www.netbeans.org/cddl-gplv2.html
    3.16 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
    3.17 -specific language governing permissions and limitations under the
    3.18 -License.  When distributing the software, include this License Header
    3.19 -Notice in each file and include the License file at
    3.20 -nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
    3.21 -particular file as subject to the "Classpath" exception as provided
    3.22 -by Sun in the GPL Version 2 section of the License file that
    3.23 -accompanied this code. If applicable, add the following below the
    3.24 -License Header, with the fields enclosed by brackets [] replaced by
    3.25 -your own identifying information:
    3.26 -"Portions Copyrighted [year] [name of copyright owner]"
    3.27 -
    3.28 -Contributor(s):
    3.29 -
    3.30 -The Original Software is NetBeans. The Initial Developer of the Original
    3.31 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    3.32 -Microsystems, Inc. All Rights Reserved.
    3.33 -
    3.34 -If you wish your version of this file to be governed by only the CDDL
    3.35 -or only the GPL Version 2, indicate your decision by adding
    3.36 -"[Contributor] elects to include this software in this distribution
    3.37 -under the [CDDL or GPL Version 2] license." If you do not indicate a
    3.38 -single choice of license, a recipient has the option to distribute
    3.39 -your version of this file under either the CDDL, the GPL Version 2 or
    3.40 -to extend the choice of license to its licensees as provided above.
    3.41 -However, if you add GPL Version 2 code and therefore, elected the GPL
    3.42 -Version 2 license, then the option applies only if the new code is
    3.43 -made subject to such option by the copyright holder.
    3.44 --->
    3.45 -
    3.46 -<html><head>
    3.47 -<title>NetBeans Runtime Inspector - Lookup</title>
    3.48 -<link rel="stylesheet" href="nbdocs:/org/netbeans/modules/usersguide/ide.css" type="text/css">
    3.49 -</head><body>
    3.50 -
    3.51 -<h2>NetBeans Runtime Inspector - Lookup Helper</h2>
    3.52 -
    3.53 -<p>Under <b>Runtime&nbsp;| NetBeans&nbsp;Runtime&nbsp;| Global Lookup</b>
    3.54 -you can find out what is currently in the lookup system: <code>Lookup.getDefault()</code>. If you see something
    3.55 -missing you think should be there, right click on this
    3.56 -node and select <b>Add&nbsp;Superclass/interface</b>. You will be asked for a
    3.57 -class name. Type in the fully qualified name of any class in the APIs or modules,
    3.58 -for example <samp>org.openide.filesystems.MIMEResolver</samp> or
    3.59 -<samp>org.openide.awt.HtmlBrowser$Factory</samp>.
    3.60 -
    3.61 -<p>Now browse underneath the lookup node and you will see all instances of that class
    3.62 -registered in the system's default lookup, organized in an inheritance tree.
    3.63 -Each instance can be explored using the
    3.64 -inspector. Also the tooltip for an instance gives you the lookup item ID
    3.65 -(for example, the name of the data object with which an instance was registered).
    3.66 -If the contents of lookup change (e.g. because of module installation), the result
    3.67 -node will be refreshed.
    3.68 -
    3.69 -<p>As instances become available, queries for their class (and superclasses and
    3.70 -implemented interfaces) are added for you automatically.
    3.71 -
    3.72 -<p>You can also look under <b>Action Lookup</b> to see the contents of
    3.73 -<code>Utilities.actionsGlobalContext()</code>, which is the context used
    3.74 -by globally-installed context-sensitive actions (e.g. <code>CookieNode</code>s).
    3.75 -Normally this lookup will be based on the selected nodes of the active
    3.76 -<code>TopComponent</code>.
    3.77 -
    3.78 -</body></html>
     4.1 --- a/apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-map.xml	Mon Dec 05 09:41:32 2011 -0500
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,7 +0,0 @@
     4.4 -<?xml version="1.0" encoding="UTF-8"?>
     4.5 -<!DOCTYPE map PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Map Version 2.0//EN" "http://java.sun.com/products/javahelp/map_2_0.dtd">
     4.6 -<map version="2.0">
     4.7 -    <mapID target="org.netbeans.modules.apisupport.beanbrowser" url="beanbrowser.html"/>
     4.8 -    <mapID target="org.netbeans.modules.apisupport.beanbrowser.eg" url="beanbrowser-eg.html"/>
     4.9 -    <mapID target="org.netbeans.modules.apisupport.beanbrowser.lookup" url="beanbrowser-lookup.html"/>
    4.10 -</map>
     5.1 --- a/apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-toc.xml	Mon Dec 05 09:41:32 2011 -0500
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,8 +0,0 @@
     5.4 -<?xml version="1.0" encoding="UTF-8"?>
     5.5 -<!DOCTYPE toc PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 2.0//EN" "http://java.sun.com/products/javahelp/toc_2_0.dtd">
     5.6 -<toc version="2.0">
     5.7 -    <tocitem text="NetBeans Runtime Inspector" target="org.netbeans.modules.apisupport.beanbrowser">
     5.8 -        <tocitem text="Lookup Helper" target="org.netbeans.modules.apisupport.beanbrowser.lookup"/>
     5.9 -        <tocitem text="Demo" target="org.netbeans.modules.apisupport.beanbrowser.eg"/>
    5.10 -    </tocitem>
    5.11 -</toc>
     6.1 --- a/apisupport.beanbrowser/javahelp/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser.html	Mon Dec 05 09:41:32 2011 -0500
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,116 +0,0 @@
     6.4 -<!--
     6.5 -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     6.6 -
     6.7 -Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
     6.8 -
     6.9 -
    6.10 -The contents of this file are subject to the terms of either the GNU
    6.11 -General Public License Version 2 only ("GPL") or the Common
    6.12 -Development and Distribution License("CDDL") (collectively, the
    6.13 -"License"). You may not use this file except in compliance with the
    6.14 -License. You can obtain a copy of the License at
    6.15 -http://www.netbeans.org/cddl-gplv2.html
    6.16 -or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
    6.17 -specific language governing permissions and limitations under the
    6.18 -License.  When distributing the software, include this License Header
    6.19 -Notice in each file and include the License file at
    6.20 -nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
    6.21 -particular file as subject to the "Classpath" exception as provided
    6.22 -by Sun in the GPL Version 2 section of the License file that
    6.23 -accompanied this code. If applicable, add the following below the
    6.24 -License Header, with the fields enclosed by brackets [] replaced by
    6.25 -your own identifying information:
    6.26 -"Portions Copyrighted [year] [name of copyright owner]"
    6.27 -
    6.28 -Contributor(s):
    6.29 -
    6.30 -The Original Software is NetBeans. The Initial Developer of the Original
    6.31 -Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    6.32 -Microsystems, Inc. All Rights Reserved.
    6.33 -
    6.34 -If you wish your version of this file to be governed by only the CDDL
    6.35 -or only the GPL Version 2, indicate your decision by adding
    6.36 -"[Contributor] elects to include this software in this distribution
    6.37 -under the [CDDL or GPL Version 2] license." If you do not indicate a
    6.38 -single choice of license, a recipient has the option to distribute
    6.39 -your version of this file under either the CDDL, the GPL Version 2 or
    6.40 -to extend the choice of license to its licensees as provided above.
    6.41 -However, if you add GPL Version 2 code and therefore, elected the GPL
    6.42 -Version 2 license, then the option applies only if the new code is
    6.43 -made subject to such option by the copyright holder.
    6.44 --->
    6.45 -
    6.46 -<html><head>
    6.47 -<title>NetBeans Runtime Inspector</title>
    6.48 -<link rel="stylesheet" href="nbdocs:/org/netbeans/modules/usersguide/ide.css" type="text/css">
    6.49 -</head><body>
    6.50 -
    6.51 -<h2>NetBeans Runtime Inspector</h2>
    6.52 -
    6.53 -<p>The NetBeans Runtime Inspector facility lets you look at the structure of objects
    6.54 -live in the IDE, provided they can be represented as JavaBeans (which
    6.55 -many API-related objects can). To use the inspector,
    6.56 -Flip to the <b>Runtime</b> tab in the Explorer and look under the
    6.57 -<b>NetBeans Runtime</b> node - you will see some important folders in the system filesystem.
    6.58 -You will also see the <a href="beanbrowser-lookup.html">lookup helper</a>.
    6.59 -
    6.60 -<p>In the inspector, by default nodes just show up as themselves, but they
    6.61 -will show extra children. First of all, their regular children are displayed in
    6.62 -a special subnode, to separate them from other things. Other subnodes may be
    6.63 -displayed, including:
    6.64 -
    6.65 -<ul>
    6.66 -
    6.67 -<li>A list of all properties of the node, broken up by property set. These display
    6.68 -as object nodes, which means they can in turn show hierarchy for e.g. Java
    6.69 -collections or arrays, etc. Properties which are themselves beans will show up
    6.70 -as bean nodes, i.e. their default representation.
    6.71 -
    6.72 -<li>A list of all computed properties of the node (if it represents a Bean with an
    6.73 -instance), under <b>Raw&nbsp;bean&nbsp;properties</b>. Here, <code>BeanInfo</code>
    6.74 -is simply ignored, and all getter methods are treated as fair game--even if they
    6.75 -are not public methods. Useful for classes which have <code>BeanInfo</code> which
    6.76 -does not include all the information you might to debug with.
    6.77 -
    6.78 -<li>Any node with an <code>InstanceCookie</code> will show that instance as a Bean.
    6.79 -
    6.80 -<li><code>Node</code> properties will appear as themselves, after an introduction.
    6.81 -
    6.82 -<li><code>Container</code> properties (i.e. visual beans) will show the AWT
    6.83 -component hierarchy.
    6.84 -
    6.85 -<li><code>FileSystem</code> properties additionally display the root folder.
    6.86 -This lets you browse to a specific file in the filesystem.
    6.87 -
    6.88 -<li><code>FileObject</code> properties additionally display the data object
    6.89 -(from which you can also see the node delegate). And you get a list of file
    6.90 -attributes by name.
    6.91 -File objects which are part of a <code>MultiFileSystem</code> will show the
    6.92 -original filesystem which produced them. In the case of file objects in the
    6.93 -system filesystem, you can see the <em>provenance</em> of the file, indicating
    6.94 -whether it was defined in a module (including the core - generally some XML
    6.95 -layer); the user directory (global setting); the installation directory (rarer);
    6.96 -or the current project.
    6.97 -
    6.98 -<li><code>Clipboard</code> objects show the objects associated
    6.99 -with each currently supported data flavor in their
   6.100 -transferables. Go to <code>java.awt.Clipboard</code> under <b>Lookup&nbsp;results</b> for
   6.101 -example. Also <code>ExClipboard</code> objects will update this
   6.102 -information when it changes, and <code>MultiTransferObject</code>
   6.103 -objects are broken apart into constituent flavors.
   6.104 -
   6.105 -<li>Instances of <code>Lookup.Provider</code> method (such as nodes, data objects, and so on)
   6.106 -will be examined for a list of all standard cookie types, and these cookies will be shown
   6.107 -in a separate sublist for examination.
   6.108 -<a href="beanbrowser-lookup.html">(Details...)</a>
   6.109 -It is possible to recognize your own cookie types, too;
   6.110 -if your module defines a cookie you wish to see listed, simply add an XML file to its layer
   6.111 -underneath <samp>Services/Hidden/</samp> matching the DTD at
   6.112 -<a href="http://www.netbeans.org/dtds/apisupport-cookie-class-list-1_0.dtd"><samp>http://www.netbeans.org/dtds/apisupport-cookie-class-list-1_0.dtd</samp></a>.
   6.113 -
   6.114 -<li>When browsing objects representing <code>FilterNode</code>s, you can see
   6.115 -the original node.
   6.116 -
   6.117 -</ul>
   6.118 -
   6.119 -</body></html>
     7.1 --- a/apisupport.beanbrowser/manifest.mf	Mon Dec 05 09:41:32 2011 -0500
     7.2 +++ b/apisupport.beanbrowser/manifest.mf	Wed Dec 07 14:14:22 2011 -0500
     7.3 @@ -1,7 +1,5 @@
     7.4  Manifest-Version: 1.0
     7.5  OpenIDE-Module: org.netbeans.modules.apisupport.beanbrowser
     7.6 -OpenIDE-Module-Layer: org/netbeans/modules/apisupport/beanbrowser/layer.xml
     7.7  OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/apisupport/beanbrowser/Bundle.properties
     7.8 -OpenIDE-Module-Requires: org.netbeans.api.javahelp.Help
     7.9  OpenIDE-Module-Specification-Version: 1.9
    7.10  
     8.1 --- a/apisupport.beanbrowser/nbproject/project.properties	Mon Dec 05 09:41:32 2011 -0500
     8.2 +++ b/apisupport.beanbrowser/nbproject/project.properties	Wed Dec 07 14:14:22 2011 -0500
     8.3 @@ -1,3 +1,2 @@
     8.4  javac.compilerargs=-Xlint -Xlint:-serial
     8.5  javac.source=1.6
     8.6 -javahelp.hs=beanbrowser-hs.xml
     9.1 --- a/apisupport.beanbrowser/nbproject/project.xml	Mon Dec 05 09:41:32 2011 -0500
     9.2 +++ b/apisupport.beanbrowser/nbproject/project.xml	Wed Dec 07 14:14:22 2011 -0500
     9.3 @@ -15,6 +15,15 @@
     9.4                      </run-dependency>
     9.5                  </dependency>
     9.6                  <dependency>
     9.7 +                    <code-name-base>org.netbeans.modules.javahelp</code-name-base>
     9.8 +                    <build-prerequisite/>
     9.9 +                    <compile-dependency/>
    9.10 +                    <run-dependency>
    9.11 +                        <release-version>1</release-version>
    9.12 +                        <specification-version>2.25</specification-version>
    9.13 +                    </run-dependency>
    9.14 +                </dependency>
    9.15 +                <dependency>
    9.16                      <code-name-base>org.openide.actions</code-name-base>
    9.17                      <build-prerequisite/>
    9.18                      <compile-dependency/>
    10.1 --- a/apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/beanbrowser-helpset.xml	Mon Dec 05 09:41:32 2011 -0500
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,3 +0,0 @@
    10.4 -<?xml version="1.0" encoding="UTF-8"?>
    10.5 -<!DOCTYPE helpsetref PUBLIC "-//NetBeans//DTD JavaHelp Help Set Reference 1.0//EN" "http://www.netbeans.org/dtds/helpsetref-1_0.dtd">
    10.6 -<helpsetref url="nbdocs:/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-hs.xml"/>
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-eg.html	Wed Dec 07 14:14:22 2011 -0500
    11.3 @@ -0,0 +1,79 @@
    11.4 +<!--
    11.5 +DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    11.6 +
    11.7 +Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    11.8 +
    11.9 +
   11.10 +The contents of this file are subject to the terms of either the GNU
   11.11 +General Public License Version 2 only ("GPL") or the Common
   11.12 +Development and Distribution License("CDDL") (collectively, the
   11.13 +"License"). You may not use this file except in compliance with the
   11.14 +License. You can obtain a copy of the License at
   11.15 +http://www.netbeans.org/cddl-gplv2.html
   11.16 +or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   11.17 +specific language governing permissions and limitations under the
   11.18 +License.  When distributing the software, include this License Header
   11.19 +Notice in each file and include the License file at
   11.20 +nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   11.21 +particular file as subject to the "Classpath" exception as provided
   11.22 +by Sun in the GPL Version 2 section of the License file that
   11.23 +accompanied this code. If applicable, add the following below the
   11.24 +License Header, with the fields enclosed by brackets [] replaced by
   11.25 +your own identifying information:
   11.26 +"Portions Copyrighted [year] [name of copyright owner]"
   11.27 +
   11.28 +Contributor(s):
   11.29 +
   11.30 +The Original Software is NetBeans. The Initial Developer of the Original
   11.31 +Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   11.32 +Microsystems, Inc. All Rights Reserved.
   11.33 +
   11.34 +If you wish your version of this file to be governed by only the CDDL
   11.35 +or only the GPL Version 2, indicate your decision by adding
   11.36 +"[Contributor] elects to include this software in this distribution
   11.37 +under the [CDDL or GPL Version 2] license." If you do not indicate a
   11.38 +single choice of license, a recipient has the option to distribute
   11.39 +your version of this file under either the CDDL, the GPL Version 2 or
   11.40 +to extend the choice of license to its licensees as provided above.
   11.41 +However, if you add GPL Version 2 code and therefore, elected the GPL
   11.42 +Version 2 license, then the option applies only if the new code is
   11.43 +made subject to such option by the copyright holder.
   11.44 +-->
   11.45 +
   11.46 +<html><head>
   11.47 +<title>NetBeans Runtime Inspector - Demo</title>
   11.48 +<link rel="stylesheet" href="nbdocs:/org/netbeans/modules/usersguide/ide.css" type="text/css">
   11.49 +</head><body>
   11.50 +
   11.51 +<h2>NetBeans Runtime Inspector Demo</h2>
   11.52 +
   11.53 +<p>Here is an example of what you can do with the inspector:
   11.54 +
   11.55 +<OL>
   11.56 +
   11.57 +<LI>Go to <b>Runtime&nbsp;| NetBeans&nbsp;Runtime</b>.
   11.58 +Maximize the window to make sure there is enough
   11.59 +room to see many nodes. Open a Property Sheet if there is not
   11.60 +yet one open.
   11.61 +
   11.62 +<LI><b>Lookup&nbsp;results</b> -&gt; <b>org.openide.windows.WindowManager</b>.
   11.63 +
   11.64 +<LI><b>org.netbeans.core.windows.WindowManagerImpl</b> -&gt; <b>Properties</b>.
   11.65 +
   11.66 +<LI><b>mainWindow</b> -&gt; <b>Components</b>.
   11.67 +
   11.68 +<LI><i>(only child)</i> -&gt; <b>Components</b>.
   11.69 +
   11.70 +<LI><b>null.layeredPane</b> -&gt; <b>Components</b>.
   11.71 +
   11.72 +<LI><i>(MenuBar)</i> -&gt; <b>Components</b>.
   11.73 +
   11.74 +<LI>First child: property <b>text</b> in Property Sheet should read <code>File</code>.
   11.75 +
   11.76 +<LI>Change property to <code>Phile</code>. IDE menu bar should change.
   11.77 +
   11.78 +</OL>
   11.79 +
   11.80 +<p>Remember to look at tool tips on the nodes, and have fun browsing the IDE!
   11.81 +
   11.82 +</body></html>
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-hs.xml	Wed Dec 07 14:14:22 2011 -0500
    12.3 @@ -0,0 +1,21 @@
    12.4 +<?xml version="1.0" encoding="UTF-8"?>
    12.5 +<!DOCTYPE helpset PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN" "http://java.sun.com/products/javahelp/helpset_2_0.dtd">
    12.6 +<helpset version="2.0">
    12.7 +    <title>NetBeans Runtime Inspector Help</title>
    12.8 +    <maps>
    12.9 +        <homeID>org.netbeans.modules.apisupport.beanbrowser</homeID>
   12.10 +        <mapref location="beanbrowser-map.xml"/>
   12.11 +    </maps>
   12.12 +    <view mergetype="javax.help.AppendMerge">
   12.13 +        <name>TOC</name>
   12.14 +        <label>Table of Contents</label>
   12.15 +        <type>javax.help.TOCView</type>
   12.16 +        <data>beanbrowser-toc.xml</data>
   12.17 +    </view>
   12.18 +    <view>
   12.19 +        <name>Search</name>
   12.20 +        <label>Search</label>
   12.21 +        <type>javax.help.SearchView</type>
   12.22 +        <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
   12.23 +    </view>
   12.24 +</helpset>
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-lookup.html	Wed Dec 07 14:14:22 2011 -0500
    13.3 @@ -0,0 +1,75 @@
    13.4 +<!--
    13.5 +DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    13.6 +
    13.7 +Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    13.8 +
    13.9 +
   13.10 +The contents of this file are subject to the terms of either the GNU
   13.11 +General Public License Version 2 only ("GPL") or the Common
   13.12 +Development and Distribution License("CDDL") (collectively, the
   13.13 +"License"). You may not use this file except in compliance with the
   13.14 +License. You can obtain a copy of the License at
   13.15 +http://www.netbeans.org/cddl-gplv2.html
   13.16 +or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   13.17 +specific language governing permissions and limitations under the
   13.18 +License.  When distributing the software, include this License Header
   13.19 +Notice in each file and include the License file at
   13.20 +nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   13.21 +particular file as subject to the "Classpath" exception as provided
   13.22 +by Sun in the GPL Version 2 section of the License file that
   13.23 +accompanied this code. If applicable, add the following below the
   13.24 +License Header, with the fields enclosed by brackets [] replaced by
   13.25 +your own identifying information:
   13.26 +"Portions Copyrighted [year] [name of copyright owner]"
   13.27 +
   13.28 +Contributor(s):
   13.29 +
   13.30 +The Original Software is NetBeans. The Initial Developer of the Original
   13.31 +Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   13.32 +Microsystems, Inc. All Rights Reserved.
   13.33 +
   13.34 +If you wish your version of this file to be governed by only the CDDL
   13.35 +or only the GPL Version 2, indicate your decision by adding
   13.36 +"[Contributor] elects to include this software in this distribution
   13.37 +under the [CDDL or GPL Version 2] license." If you do not indicate a
   13.38 +single choice of license, a recipient has the option to distribute
   13.39 +your version of this file under either the CDDL, the GPL Version 2 or
   13.40 +to extend the choice of license to its licensees as provided above.
   13.41 +However, if you add GPL Version 2 code and therefore, elected the GPL
   13.42 +Version 2 license, then the option applies only if the new code is
   13.43 +made subject to such option by the copyright holder.
   13.44 +-->
   13.45 +
   13.46 +<html><head>
   13.47 +<title>NetBeans Runtime Inspector - Lookup</title>
   13.48 +<link rel="stylesheet" href="nbdocs:/org/netbeans/modules/usersguide/ide.css" type="text/css">
   13.49 +</head><body>
   13.50 +
   13.51 +<h2>NetBeans Runtime Inspector - Lookup Helper</h2>
   13.52 +
   13.53 +<p>Under <b>Runtime&nbsp;| NetBeans&nbsp;Runtime&nbsp;| Global Lookup</b>
   13.54 +you can find out what is currently in the lookup system: <code>Lookup.getDefault()</code>. If you see something
   13.55 +missing you think should be there, right click on this
   13.56 +node and select <b>Add&nbsp;Superclass/interface</b>. You will be asked for a
   13.57 +class name. Type in the fully qualified name of any class in the APIs or modules,
   13.58 +for example <samp>org.openide.filesystems.MIMEResolver</samp> or
   13.59 +<samp>org.openide.awt.HtmlBrowser$Factory</samp>.
   13.60 +
   13.61 +<p>Now browse underneath the lookup node and you will see all instances of that class
   13.62 +registered in the system's default lookup, organized in an inheritance tree.
   13.63 +Each instance can be explored using the
   13.64 +inspector. Also the tooltip for an instance gives you the lookup item ID
   13.65 +(for example, the name of the data object with which an instance was registered).
   13.66 +If the contents of lookup change (e.g. because of module installation), the result
   13.67 +node will be refreshed.
   13.68 +
   13.69 +<p>As instances become available, queries for their class (and superclasses and
   13.70 +implemented interfaces) are added for you automatically.
   13.71 +
   13.72 +<p>You can also look under <b>Action Lookup</b> to see the contents of
   13.73 +<code>Utilities.actionsGlobalContext()</code>, which is the context used
   13.74 +by globally-installed context-sensitive actions (e.g. <code>CookieNode</code>s).
   13.75 +Normally this lookup will be based on the selected nodes of the active
   13.76 +<code>TopComponent</code>.
   13.77 +
   13.78 +</body></html>
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-map.xml	Wed Dec 07 14:14:22 2011 -0500
    14.3 @@ -0,0 +1,7 @@
    14.4 +<?xml version="1.0" encoding="UTF-8"?>
    14.5 +<!DOCTYPE map PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Map Version 2.0//EN" "http://java.sun.com/products/javahelp/map_2_0.dtd">
    14.6 +<map version="2.0">
    14.7 +    <mapID target="org.netbeans.modules.apisupport.beanbrowser" url="beanbrowser.html"/>
    14.8 +    <mapID target="org.netbeans.modules.apisupport.beanbrowser.eg" url="beanbrowser-eg.html"/>
    14.9 +    <mapID target="org.netbeans.modules.apisupport.beanbrowser.lookup" url="beanbrowser-lookup.html"/>
   14.10 +</map>
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser-toc.xml	Wed Dec 07 14:14:22 2011 -0500
    15.3 @@ -0,0 +1,8 @@
    15.4 +<?xml version="1.0" encoding="UTF-8"?>
    15.5 +<!DOCTYPE toc PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 2.0//EN" "http://java.sun.com/products/javahelp/toc_2_0.dtd">
    15.6 +<toc version="2.0">
    15.7 +    <tocitem text="NetBeans Runtime Inspector" target="org.netbeans.modules.apisupport.beanbrowser">
    15.8 +        <tocitem text="Lookup Helper" target="org.netbeans.modules.apisupport.beanbrowser.lookup"/>
    15.9 +        <tocitem text="Demo" target="org.netbeans.modules.apisupport.beanbrowser.eg"/>
   15.10 +    </tocitem>
   15.11 +</toc>
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/beanbrowser.html	Wed Dec 07 14:14:22 2011 -0500
    16.3 @@ -0,0 +1,116 @@
    16.4 +<!--
    16.5 +DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    16.6 +
    16.7 +Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    16.8 +
    16.9 +
   16.10 +The contents of this file are subject to the terms of either the GNU
   16.11 +General Public License Version 2 only ("GPL") or the Common
   16.12 +Development and Distribution License("CDDL") (collectively, the
   16.13 +"License"). You may not use this file except in compliance with the
   16.14 +License. You can obtain a copy of the License at
   16.15 +http://www.netbeans.org/cddl-gplv2.html
   16.16 +or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   16.17 +specific language governing permissions and limitations under the
   16.18 +License.  When distributing the software, include this License Header
   16.19 +Notice in each file and include the License file at
   16.20 +nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
   16.21 +particular file as subject to the "Classpath" exception as provided
   16.22 +by Sun in the GPL Version 2 section of the License file that
   16.23 +accompanied this code. If applicable, add the following below the
   16.24 +License Header, with the fields enclosed by brackets [] replaced by
   16.25 +your own identifying information:
   16.26 +"Portions Copyrighted [year] [name of copyright owner]"
   16.27 +
   16.28 +Contributor(s):
   16.29 +
   16.30 +The Original Software is NetBeans. The Initial Developer of the Original
   16.31 +Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   16.32 +Microsystems, Inc. All Rights Reserved.
   16.33 +
   16.34 +If you wish your version of this file to be governed by only the CDDL
   16.35 +or only the GPL Version 2, indicate your decision by adding
   16.36 +"[Contributor] elects to include this software in this distribution
   16.37 +under the [CDDL or GPL Version 2] license." If you do not indicate a
   16.38 +single choice of license, a recipient has the option to distribute
   16.39 +your version of this file under either the CDDL, the GPL Version 2 or
   16.40 +to extend the choice of license to its licensees as provided above.
   16.41 +However, if you add GPL Version 2 code and therefore, elected the GPL
   16.42 +Version 2 license, then the option applies only if the new code is
   16.43 +made subject to such option by the copyright holder.
   16.44 +-->
   16.45 +
   16.46 +<html><head>
   16.47 +<title>NetBeans Runtime Inspector</title>
   16.48 +<link rel="stylesheet" href="nbdocs:/org/netbeans/modules/usersguide/ide.css" type="text/css">
   16.49 +</head><body>
   16.50 +
   16.51 +<h2>NetBeans Runtime Inspector</h2>
   16.52 +
   16.53 +<p>The NetBeans Runtime Inspector facility lets you look at the structure of objects
   16.54 +live in the IDE, provided they can be represented as JavaBeans (which
   16.55 +many API-related objects can). To use the inspector,
   16.56 +Flip to the <b>Runtime</b> tab in the Explorer and look under the
   16.57 +<b>NetBeans Runtime</b> node - you will see some important folders in the system filesystem.
   16.58 +You will also see the <a href="beanbrowser-lookup.html">lookup helper</a>.
   16.59 +
   16.60 +<p>In the inspector, by default nodes just show up as themselves, but they
   16.61 +will show extra children. First of all, their regular children are displayed in
   16.62 +a special subnode, to separate them from other things. Other subnodes may be
   16.63 +displayed, including:
   16.64 +
   16.65 +<ul>
   16.66 +
   16.67 +<li>A list of all properties of the node, broken up by property set. These display
   16.68 +as object nodes, which means they can in turn show hierarchy for e.g. Java
   16.69 +collections or arrays, etc. Properties which are themselves beans will show up
   16.70 +as bean nodes, i.e. their default representation.
   16.71 +
   16.72 +<li>A list of all computed properties of the node (if it represents a Bean with an
   16.73 +instance), under <b>Raw&nbsp;bean&nbsp;properties</b>. Here, <code>BeanInfo</code>
   16.74 +is simply ignored, and all getter methods are treated as fair game--even if they
   16.75 +are not public methods. Useful for classes which have <code>BeanInfo</code> which
   16.76 +does not include all the information you might to debug with.
   16.77 +
   16.78 +<li>Any node with an <code>InstanceCookie</code> will show that instance as a Bean.
   16.79 +
   16.80 +<li><code>Node</code> properties will appear as themselves, after an introduction.
   16.81 +
   16.82 +<li><code>Container</code> properties (i.e. visual beans) will show the AWT
   16.83 +component hierarchy.
   16.84 +
   16.85 +<li><code>FileSystem</code> properties additionally display the root folder.
   16.86 +This lets you browse to a specific file in the filesystem.
   16.87 +
   16.88 +<li><code>FileObject</code> properties additionally display the data object
   16.89 +(from which you can also see the node delegate). And you get a list of file
   16.90 +attributes by name.
   16.91 +File objects which are part of a <code>MultiFileSystem</code> will show the
   16.92 +original filesystem which produced them. In the case of file objects in the
   16.93 +system filesystem, you can see the <em>provenance</em> of the file, indicating
   16.94 +whether it was defined in a module (including the core - generally some XML
   16.95 +layer); the user directory (global setting); the installation directory (rarer);
   16.96 +or the current project.
   16.97 +
   16.98 +<li><code>Clipboard</code> objects show the objects associated
   16.99 +with each currently supported data flavor in their
  16.100 +transferables. Go to <code>java.awt.Clipboard</code> under <b>Lookup&nbsp;results</b> for
  16.101 +example. Also <code>ExClipboard</code> objects will update this
  16.102 +information when it changes, and <code>MultiTransferObject</code>
  16.103 +objects are broken apart into constituent flavors.
  16.104 +
  16.105 +<li>Instances of <code>Lookup.Provider</code> method (such as nodes, data objects, and so on)
  16.106 +will be examined for a list of all standard cookie types, and these cookies will be shown
  16.107 +in a separate sublist for examination.
  16.108 +<a href="beanbrowser-lookup.html">(Details...)</a>
  16.109 +It is possible to recognize your own cookie types, too;
  16.110 +if your module defines a cookie you wish to see listed, simply add an XML file to its layer
  16.111 +underneath <samp>Services/Hidden/</samp> matching the DTD at
  16.112 +<a href="http://www.netbeans.org/dtds/apisupport-cookie-class-list-1_0.dtd"><samp>http://www.netbeans.org/dtds/apisupport-cookie-class-list-1_0.dtd</samp></a>.
  16.113 +
  16.114 +<li>When browsing objects representing <code>FilterNode</code>s, you can see
  16.115 +the original node.
  16.116 +
  16.117 +</ul>
  16.118 +
  16.119 +</body></html>
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/docs/package-info.java	Wed Dec 07 14:14:22 2011 -0500
    17.3 @@ -0,0 +1,46 @@
    17.4 +/*
    17.5 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
    17.6 + *
    17.7 + * Copyright 2011 Oracle and/or its affiliates. All rights reserved.
    17.8 + *
    17.9 + * Oracle and Java are registered trademarks of Oracle and/or its affiliates.
   17.10 + * Other names may be trademarks of their respective owners.
   17.11 + *
   17.12 + * The contents of this file are subject to the terms of either the GNU
   17.13 + * General Public License Version 2 only ("GPL") or the Common
   17.14 + * Development and Distribution License("CDDL") (collectively, the
   17.15 + * "License"). You may not use this file except in compliance with the
   17.16 + * License. You can obtain a copy of the License at
   17.17 + * http://www.netbeans.org/cddl-gplv2.html
   17.18 + * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
   17.19 + * specific language governing permissions and limitations under the
   17.20 + * License.  When distributing the software, include this License Header
   17.21 + * Notice in each file and include the License file at
   17.22 + * nbbuild/licenses/CDDL-GPL-2-CP.  Oracle designates this
   17.23 + * particular file as subject to the "Classpath" exception as provided
   17.24 + * by Oracle in the GPL Version 2 section of the License file that
   17.25 + * accompanied this code. If applicable, add the following below the
   17.26 + * License Header, with the fields enclosed by brackets [] replaced by
   17.27 + * your own identifying information:
   17.28 + * "Portions Copyrighted [year] [name of copyright owner]"
   17.29 + *
   17.30 + * If you wish your version of this file to be governed by only the CDDL
   17.31 + * or only the GPL Version 2, indicate your decision by adding
   17.32 + * "[Contributor] elects to include this software in this distribution
   17.33 + * under the [CDDL or GPL Version 2] license." If you do not indicate a
   17.34 + * single choice of license, a recipient has the option to distribute
   17.35 + * your version of this file under either the CDDL, the GPL Version 2 or
   17.36 + * to extend the choice of license to its licensees as provided above.
   17.37 + * However, if you add GPL Version 2 code and therefore, elected the GPL
   17.38 + * Version 2 license, then the option applies only if the new code is
   17.39 + * made subject to such option by the copyright holder.
   17.40 + *
   17.41 + * Contributor(s):
   17.42 + *
   17.43 + * Portions Copyrighted 2011 Sun Microsystems, Inc.
   17.44 + */
   17.45 +
   17.46 +@HelpSetRegistration(helpSet="beanbrowser-hs.xml", position=2710)
   17.47 +package org.netbeans.modules.apisupport.beanbrowser.docs;
   17.48 +
   17.49 +import org.netbeans.api.javahelp.HelpSetRegistration;
    18.1 --- a/apisupport.beanbrowser/src/org/netbeans/modules/apisupport/beanbrowser/layer.xml	Mon Dec 05 09:41:32 2011 -0500
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,11 +0,0 @@
    18.4 -<?xml version="1.0" encoding="UTF-8"?>
    18.5 -<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
    18.6 -<filesystem>
    18.7 -    <folder name="Services">
    18.8 -        <folder name="JavaHelp">
    18.9 -            <file name="beanbrowser-helpset.xml" url="beanbrowser-helpset.xml">
   18.10 -                <attr name="position" intvalue="2710"/>
   18.11 -            </file>
   18.12 -        </folder>
   18.13 -    </folder>
   18.14 -</filesystem>