More on javahelp ...
This commit is contained in:
parent
2ba34763af
commit
1efc9ab4c6
@ -1,4 +1,4 @@
|
|||||||
#Mon, 04 Dec 2017 20:52:26 +0100
|
#Thu, 07 Dec 2017 16:22:48 +0100
|
||||||
annotation.processing.enabled=true
|
annotation.processing.enabled=true
|
||||||
annotation.processing.enabled.in.editor=false
|
annotation.processing.enabled.in.editor=false
|
||||||
annotation.processing.processors.list=
|
annotation.processing.processors.list=
|
||||||
|
@ -20,16 +20,5 @@
|
|||||||
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
|
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
|
||||||
</AuxValues>
|
</AuxValues>
|
||||||
|
|
||||||
<Layout>
|
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
|
||||||
<DimensionLayout dim="0">
|
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
|
||||||
<EmptySpace min="0" pref="599" max="32767" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
</DimensionLayout>
|
|
||||||
<DimensionLayout dim="1">
|
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
|
||||||
<EmptySpace min="0" pref="354" max="32767" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
</DimensionLayout>
|
|
||||||
</Layout>
|
|
||||||
</Form>
|
</Form>
|
||||||
|
@ -61,8 +61,8 @@ URL url = HelpSet.findHelpSet(null, helpHS); //, "xml", Locale.ENGLISH);
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
setTitle("SeSim Help");
|
setTitle("Help");
|
||||||
//setSize(800,600);
|
setSize(800,600);
|
||||||
getContentPane().add(helpViewer);
|
getContentPane().add(helpViewer);
|
||||||
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
|
||||||
//setVisible(true);
|
//setVisible(true);
|
||||||
@ -79,17 +79,6 @@ URL url = HelpSet.findHelpSet(null, helpHS); //, "xml", Locale.ENGLISH);
|
|||||||
|
|
||||||
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
|
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
|
||||||
|
|
||||||
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
|
|
||||||
getContentPane().setLayout(layout);
|
|
||||||
layout.setHorizontalGroup(
|
|
||||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addGap(0, 599, Short.MAX_VALUE)
|
|
||||||
);
|
|
||||||
layout.setVerticalGroup(
|
|
||||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addGap(0, 354, Short.MAX_VALUE)
|
|
||||||
);
|
|
||||||
|
|
||||||
pack();
|
pack();
|
||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
|
|
||||||
|
24
src/resources/TOC.xml
Normal file
24
src/resources/TOC.xml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<?xml version='1.0' encoding='ISO-8859-1' ?>
|
||||||
|
<!DOCTYPE toc
|
||||||
|
PUBLIC
|
||||||
|
"-//Sun Microsystems Inc.//DTD
|
||||||
|
JavaHelp TOC Version 2.0//EN"
|
||||||
|
"http://java.sun.com/products/javahelp/toc_2_0.dtd">
|
||||||
|
<toc version="2.0">
|
||||||
|
<tocitem image="toplevelfolder"
|
||||||
|
text="Java Development Environment">
|
||||||
|
<tocitem target="jde.intro">Introduction to JDE Online Help />
|
||||||
|
<tocitem text="IDE Tutorial" target="tut.starttoc">
|
||||||
|
<tocitem text="Introducing JDE" target="tut.intro" />
|
||||||
|
<tocitem text="Tutorial One" target="tut.quickstart" />
|
||||||
|
<tocitem text="Tutorial Two" target="tut.edit" />
|
||||||
|
<tocitem text="Tutorial Three" target="tut.errors" />
|
||||||
|
</tocitem>
|
||||||
|
<tocitem text="Beans in JDE" target="bean.jbeanstory" />
|
||||||
|
<tocitem text="Tips on Using Beans Effectively"
|
||||||
|
target="bean.beantips"
|
||||||
|
mergetype="javax.help.SortMerge"
|
||||||
|
presentationtype="javax.help.SecondaryWindow"
|
||||||
|
presentationname="mainsw" />
|
||||||
|
</tocitem>
|
||||||
|
</toc>
|
@ -1,59 +1,103 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
Copyright (c) 2017, 7u83 <7u83@mail.ru>
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice, this
|
|
||||||
list of conditions and the following disclaimer.
|
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
||||||
POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<?xml version='1.0' encoding='ISO-8859-1' ?>
|
<?xml version='1.0' encoding='ISO-8859-1' ?>
|
||||||
<!DOCTYPE helpset
|
<!DOCTYPE helpset
|
||||||
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN"
|
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN"
|
||||||
"http://java.sun.com/products/javahelp/helpset_1_0.dtd">
|
"http://java.sun.com/products/javahelp/helpset_1_0.dtd">
|
||||||
|
|
||||||
<helpset version="1.0">
|
<helpset version="2.0">
|
||||||
<title>Aviation Information</title>
|
<!-- title -->
|
||||||
<maps>
|
<title>Java Development Environment - Help</title>
|
||||||
<homeID>intro</homeID>
|
|
||||||
<mapref location="Map.jhm"/>
|
<!-- maps -->
|
||||||
</maps>
|
<maps>
|
||||||
<view>
|
<homeID>top </homeID>
|
||||||
<name>TOC</name>
|
<mapref location="Map.jhm" />
|
||||||
<label>Aviation TOC</label>
|
</maps>
|
||||||
<type>javax.help.TOCView</type>
|
|
||||||
<data>TOC.xml</data>
|
<!-- views -->
|
||||||
</view>
|
<view xml:lang="en" mergetype="javax.help.UniteAppendMerge">
|
||||||
<view>
|
<name>TOC</name>
|
||||||
<name>Index</name>
|
<label>SeSim Table Of Contents</label>
|
||||||
<label>Aviation Index</label>
|
<type>javax.help.TOCView</type>
|
||||||
<type>javax.help.IndexView</type>
|
<data>TOC.xml</data>
|
||||||
<data>Index.xml</data>
|
</view>
|
||||||
</view>
|
|
||||||
<view>
|
<view xml:lang="en" mergetype="javax.help.SortMerge">
|
||||||
<name>Search</name>
|
<name>Index</name>
|
||||||
<label>Aviation Word Search</label>
|
<label>Index</label>
|
||||||
<type>javax.help.SearchView</type>
|
<type>javax.help.IndexView</type>
|
||||||
<data engine="com.sun.java.help.search.DefaultSearchEngine">
|
<data>IdeHelpIndex.xml</data>
|
||||||
JavaHelpSearch
|
</view>
|
||||||
</data>
|
|
||||||
</view>
|
<view xml:lang="en">
|
||||||
|
<name>Search</name>
|
||||||
|
<label>Search</label>
|
||||||
|
<type>javax.help.SearchView</type>
|
||||||
|
<data engine="com.sun.java.help.search.DefaultSearchEngine">
|
||||||
|
JavaHelpSearch
|
||||||
|
</data>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- A glossary navigator -->
|
||||||
|
<!-- <view mergetype="javax.help.SortMerge">
|
||||||
|
<name>glossary</name>
|
||||||
|
<label>Glossary</label>
|
||||||
|
<type>javax.help.GlossaryView</type>
|
||||||
|
<data>glossary.xml</data>
|
||||||
|
</view>
|
||||||
|
-->
|
||||||
|
<!-- A favorites navigator -->
|
||||||
|
<view>
|
||||||
|
<name>favorites</name>
|
||||||
|
<label>Favorites</label>
|
||||||
|
<type>javax.help.FavoritesView</type>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<!-- presentation windows -->
|
||||||
|
|
||||||
|
<!-- This window is the default one for the helpset.
|
||||||
|
* Its title bar says "Project X Help". It
|
||||||
|
* is a tri-paned window because displayviews, not
|
||||||
|
* defined, defaults to true and because a toolbar is defined.
|
||||||
|
* The toolbar has a back arrow, a forward arrow, and
|
||||||
|
* a home button that has a user-defined image.
|
||||||
|
-->
|
||||||
|
<presentation default="true">
|
||||||
|
<name>main window</name>
|
||||||
|
<size width="400" height="400" />
|
||||||
|
<location x="200" y="200" />
|
||||||
|
<title>Project X Help</title>
|
||||||
|
<toolbar>
|
||||||
|
<helpaction>javax.help.BackAction</helpaction>
|
||||||
|
<helpaction>javax.help.ForwardAction</helpaction>
|
||||||
|
<helpaction image="homeicon">javax.help.HomeAction</helpaction>
|
||||||
|
</toolbar>
|
||||||
|
</presentation>
|
||||||
|
|
||||||
|
<!-- This window is simpler than the main window.
|
||||||
|
* It's intended to be used a secondary window.
|
||||||
|
* It has no navigation pane or toolbar.
|
||||||
|
-->
|
||||||
|
<presentation displayviews="false">
|
||||||
|
<name>secondary window</name>
|
||||||
|
<size width="200" height="200" />
|
||||||
|
<location x="200" y="200" />
|
||||||
|
</presentation>
|
||||||
|
|
||||||
|
<!-- subhelpsets -->
|
||||||
|
<subhelpset location="file:/c:/Foobar/HelpSet2.hs" />
|
||||||
|
|
||||||
|
<!-- implementation section -->
|
||||||
|
<impl>
|
||||||
|
<helpsetregistry helpbrokerclass="javax.help.DefaultHelpBroker" />
|
||||||
|
<viewerregistry viewertype="text/html"
|
||||||
|
viewerclass="com.sun.java.help.impl.CustomKit />
|
||||||
|
<viewerregistry viewertype="text/xml"
|
||||||
|
viewerclass="com.sun.java.help.impl.CustomXMLKit />
|
||||||
|
</impl>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</helpset>
|
</helpset>
|
Loading…
Reference in New Issue
Block a user