blob: a3244ab9ac255a07206b138ab3633adeea6aff59 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- -*- xhtml -*- -->
<title>NetBeans プラットフォーム 6.5: ファイル�?�種類統�?��?��?ュートリアル</title>
<link rel="stylesheet" type="text/css" href="https://netbeans.org/netbeans.css">
<meta name="AUDIENCE" content="NBUSER">
<meta name="TYPE" content="ARTICLE">
<meta name="EXPIRES" content="N">
<meta name="developer" content="gwielenga@netbeans.org">
<meta name="indexed" content="y">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description"
content="A short guide to using the Nodes API.">
<!-- Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. -->
<!-- Use is subject to license terms.-->
</head>
<body>
<h1>ファイル�?�種類統�?��?��?ュートリアル</h1>
<p>�?��?��?ュートリアル�?��?��?IDE �?��?��?� NetBeans プラットフォーム上�?�構築�?�れ�?��??�?�他�?�アプリケーション�?��?新�?��?�ファイル�?�種類を�?識�?��?�るモジュールを作�?�?�る方法を示�?��?��?�。
<p><b class="notes">注:</b> �?��?�ドキュメント�?��?� NetBeans IDE 6.5 リリースを使用�?��?��?�。NetBeans IDE 6.x を使用�?��?��?�る場�?��?<a href="60/nbm-filetype_ja.html">�?��?�ドキュメント�?� 6.1 �?ージョン</a>を�?�照�?��?��??�?��?��?�。
<p><b>目次</b></p>
<img src="../images/articles/68/netbeans-stamp-65-67-68.gif" class="stamp" width="114" height="114" alt="�?��?�ページ�?�内容�?� NetBeans IDE 6.5�?6.7�?�?�よ�?� 6.8 �?�対象�?��?�" title="�?��?�ページ�?�内容�?� NetBeans IDE 6.5�?6.7�?�?�よ�?� 6.8 �?�対象�?��?�"> </p>
<ul class="toc">
<li><a href="#intro">ファイル�?�種類統�?��?��?��?��?�</a></li>
<li><a href="#creating">モジュールプロジェクト�?�作�?</a></li>
<li><a href="#recognizing">Abc ファイル�?��?識</a></li>
<li><a href="#install">インストール�?�よ�?�機能�?�動作確�?</a></li>
<li><a href="#adding">Abc ファイル�?�機能�?�作�?</a></li>
<ul>
<li><a href="#action">アクション�?�追加</a>
<li><a href="#topcomponent">ファイルをウィンドウ�?�開�??</a>
<li><a href="#multiview">マル�?ビューウィンドウ�?�作�?</a>
</ul>
<li><a href="#share">共有�?�能�?イナリ�?�作�?</a></li>
</ul>
<p><b>�?��?��?ュートリアルを行�?��?��?��?次�?�表�?�示�?�ソフトウェア�?�よ�?�リソース�?�必�?�?��?�。</b></p>
<table>
<tbody>
<tr>
<th class="tblheader" scope="col">ソフトウェア�?��?��?�リソース</th>
<th class="tblheader" scope="col">必須�?ージョン</th>
</tr>
<tr>
<td class="tbltd1"><a href="https://netbeans.org/downloads/index.html">NetBeans IDE</a></td>
<td class="tbltd1">version 6.5 以上</td>
</tr>
<tr>
<td class="tbltd1"><a href="http://java.sun.com/javase/downloads/index.jsp">Java Developer Kit (JDK)</a></td>
<td class="tbltd1">version 6 �?��?��?�<br/>version 5</td>
</tr>
</tbody>
</table>
<h2 class="tutorial"><a name="intro"></a>ファイル�?�種類統�?��?��?��?��?�</h2>
<p>IDE �?��?識�?�れるファイル�?�種類�?��?��?独自�?�アイコン�?メニュー項目�?�?�よ�?�動作�?��?�り�?��?�。表示�?�れる「ファイル�?�?� <tt>FileObjects</tt> �?��?�り�?<tt>java.io.File</tt> �?�ラッパー�?��?構�?ファイル�?�場�?��?�通常�?モジュール�?� XML ファイル内�?��?��?�?��?��?�方法�?��?存�?�れ�?�データ�?�ラッパー�?��?�。実際�?�<i>表示</i>�?�れ�?��?�るも�?��?� <tt>Nodes</tt> �?��?アクション�?�よ�?��?�機能や�?ファイル�?��?��?�オブジェクト�?�ローカライズ�?�れ�?��??�?を�??供�?��?��?�。<tt>Nodes</tt> �?� <tt>FileObjects</tt> �?�間�?��?� <tt>DataObjects</tt> �?��?�り�?��?�。<tt>DataObject</tt> �?� <tt>FileObject</tt> �?�似�?��?��?��?��?��?�?��?�種類�?�ファイル�?�表示�?�れる�?��?��?�?�り�?��?�ん。通常�?異�?�る拡張�?を�?�?�ファイル�?�異�?�る�??�?空間を�?�?� XML ファイル�?�対�?��?��?異�?�る種類�?� <tt>DataObject</tt> �?��?�り�?��?�。�?� <tt>DataObject</tt> �?�異�?�るモジュール�?�よ�?��?��??供�?�れ�?��?�。�?�実装�?��?1 �?�以上�?�ファイル�?�種類をサ�?ート�?��?��?�。�?��?��?��?��?画�?モジュール�?� <tt>.gif</tt> ファイル�?�よ�?� <tt>.png</tt> ファイルを�?識�?��?開�??�?��?��?��?��??�?��?�。
<p>ファイル�?�種類を�?識�?�るモジュール�?��?<tt>DataLoader</tt> (ファイル�?�種類�?�固有�?� <tt>DataObject</tt> 用�?�ファクトリ) をインストール�?��?��?�。フォルダを展開�?�る�?��?IDE �?��?�既存�?� <tt>DataLoader</tt> �?�「�?�れ�?�何�?��?�?�り�?��?��?� ?�?�?��?�?��?��?�?��?��?�。最�?�?�「�?��?��?�?�答�?��?� DataLoader �?��?ファイル�?� <tt>DataObject</tt> を作�?�?��?��?�。�?�ファイル�?�何�?�を実際�?�表示�?�る�?��?�?��?システム�?��?� <tt>DataObject</tt> �?�対�?��?� <tt>DataObject.getNodeDelegate()</tt> を呼�?�出�?��?��?<tt>Nodes</tt> �?� IDE �?�実際�?�表示�?�れるも�?��?��?�り�?��?�。
<p>次�?�左�?��?�図�?��?�?述�?��?�項目を示�?��?��?��?��?�。
<p><p align="left"><img src="../images/tutorials/filetype/diagram-dataobject2.png" alt="図。">
<p>�?��?��?ュートリアル�?��?��?架空�?�ファイル「Abc�? (ファイル拡張�?�?� <tt>.abc</tt>) �?��?<tt>DataLoader</tt> をインストール�?�るモジュールを作�?�?��?��?�。デフォルト�?��?「abc�?拡張�?を�?�?�ファイル�?��?IDE �?��?識�?��?��?��??�?�他�?�ファイル�?��?��?�扱�?れ�?��?�。�?�れ�?�テキストファイル�?��?��?�扱�?れる�?��?�?IDE �?�テキストファイル�?�場�?��?��?�様�?�機能を�?Abc ファイル�?��??供�?��?��?�。モジュールを作�?�?�る�?��?Abc ファイル�?��?��?�利用�?��??る機能を拡張�?�る方法�?�表示�?�れ�?��?�。開発サイクル�?�完了�?�る�?��?�?��?��?�人�?��??�?�モジュールを簡�?��?�使用�?��?�る�?��?��?��?��??�?��?�。IDE �?��?��?�?��?��?�人�?��?信�?��??る�?イナリを作�?�?��??�?��?�。�?��?��?�人�?��?アップデートセンター�?�ら�??れをインストール�?��??�?��?�。
<!-- ===================================================================================== -->
<h2 class="tutorial"><a name="creating"></a> モジュールプロジェクト�?�作�?</h2>
<p>�?��?�節�?��?��?ウィザードを使用�?��?��?�?� NetBeans モジュール�?�必�?�?��?�るソース�?�構造を作�?�?��?��?�。ソース�?�構造�?��?特定�?�場所�?��?�る特定�?�フォルダ�?��?常�?�必�?�?�ファイル�?�セット�?�構�?�?�れ�?��?�。�?��?��?��?��?�?��?��?��?� NetBeans モジュール�?��?��?プロジェクト�?�メタデータを�?存�?�る <tt>nbproject</tt> フォルダ�?��?ツール�?ーボタンやウィンドウ�?��?��?�項目を宣言登録�?�る�?��?�?� <tt>layer.xml</tt> ファイル�?�必�?�?��?�。
<ol>
<li>「ファイル�?&gt;「新�?プロジェクト�?(Ctrl-Shift-N) を�?�択�?��?��?�。「カテゴリ�?�?�「NetBeans モジュール�?を�?�択�?��?��?�。「プロジェクト�?�?�「モジュール�?を�?�択�?��?「次�?��?をクリック�?��?��?�。</li>
<li>「�??�?�?�場所�?パ�?ル�?��?「プロジェクト�??�?�?�「<tt>AbcFileType</tt>�?�?�入力�?��?��?�。「プロジェクト�?�場所�?を�?<tt>c:\mymodules</tt> �?��?��?�コンピュータ上�?�任�?�?�ディレクトリ�?�変更�?��?��?�。「スタンドアロンモジュール�?ラジオボタン�?��?�択�?��?��?��?��?��?��?��?��??�?��?�。パ�?ル�?�次�?�よ�?��?��?�り�?��?�。
<p><p align="left"><img src="../images/tutorials/filetype/65-projectwizard1.png" alt="新�?プロジェクトウィザード�?�手順 1。">
<p>「次�?��?をクリック�?��?��?�。
<li>「基本モジュール構�?�?パ�?ル�?��?コード�??ベース�?�「<tt>org.myorg.abcfiletype</tt>�?�?�入力�?��?��?�。推奨�?�れるモジュール表示�??�?�空白文字を追加�?��?<tt>Abc File Type</tt> �?�変更�?��?��?�。「XML レイヤーを生�?�?�?ェックボックスを�?�択�?��?「ローカライズ版�?ンドル�?�?�「XML レイヤー�?�?�場所�?��??�?��?��?��?��?��?��?��??�?��?�。�?�れら�?� <tt>org/myorg/abcfiletype</tt> �?��?��?��??�?�?�パッケージ�?�格�?�?�れ�?��?�。パ�?ル�?�次�?�よ�?��?��?�り�?��?�。
<p><p align="left"><img src="../images/tutorials/filetype/65-projectwizard2.png" alt="新�?プロジェクトウィザード�?�手順 2。">
<li>「完了�?をクリック�?��?��?�。</ol>
<p> IDE �?�よ�?��?� <tt>Abc File Type</tt> プロジェクト�?�作�?�?�れ�?��?�。�?��?�プロジェクト�?��?��?ソースや�?プロジェクト�?� Ant 構築スクリプト�?��?��?�プロジェクトメタデータ�?��?��?��?��?��?�れ�?��?�。IDE �?�プロジェクト�?�開�??�?��?�。「プロジェクト�?ウィンドウ (Ctrl-1) �?��?プロジェクト�?�論�?�構造を表示�?��??�?��?�。�?��?��?「ファイル�?ウィンドウ (Ctrl-2) �?��?プロジェクト�?�ファイル構造を表示�?��??�?��?�。�?��?��?��?��?「プロジェクト�?ウィンドウ�?�次�?�よ�?��?�表示�?�れ�?��?�。
<p><p align="left"><img src="../images/tutorials/filetype/65-projectswindow1.png" alt="プロジェクト�?��?期ウィンドウ">
<br />
<!-- ===================================================================================== -->
<h2><a name="recognizing"></a>Abc ファイル�?��?識</h2>
<p>�?��?�節�?��?��?ウィザードを使用�?��?��?Abc ファイル�?��?��?��?��?��?��?��?�ファイル�?��?�異�?�る�?��?�を�?識�?�る�?��?�?�必�?�?�クラスを作�?�?��?��?�。�?��?��?ュートリアル�?�最�?�?�説明�?��?��?��?�り�?�?�れを行�?��?��?��?データオブジェクト�?�データローダー�?��?��?��?��?MIME タイプリゾル�?�?� <tt>layer.xml</tt> ファイル�?�登録エントリ�?�必�?�?��?�。「新�?ファイル�?�種類�?ウィザード�?�よ�?��?��??れら�?��?��?��?�作�?�?�れ�?��?�。
<ol>
<li>プロジェクトノードを�?�クリック�?��?「新�?�?&gt;「ファイル�?�種類�?を�?�択�?��?��?�。</li>
<li>「ファイル�?��?識�?パ�?ル�?��?次を行�?��?��?�。
<p><ul><li>MIME タイプ�?�編集ボックス�?�「<tt>text/x-abc</tt>�?�?�入力�?��?��?�。
<li>ファイル�??�?�拡張�?�?�編集ボックス�?�「<tt>.abc .ABC</tt>�?�?�入力�?��?��?�。</ul>
<p>�?�れ�?��?「ファイル�?��?識�?パ�?ル�?�次�?�よ�?��?��?�り�?��?�。
<p><p align="left"><img border="1" src="../images/tutorials/filetype/60-filewizard1.png" alt="新�?ファイルウィザード�?�手順 1。">
<p>「ファイル�?��?識�?パ�?ル�?��?��?次�?�フィールド�?��?�り�?��?�。
<ul>
<li><b>MIME タイプ。</b>データオブジェクト�?�一�?�?� MIME タイプを指定�?��?��?�。
<li>�?識方法
<ul><li><b>ファイル�??�?�拡張�?。</b>1 �?��?��?��?�複数�?�ファイル拡張�?を指定�?��?��?指定�?� MIME タイプ�?�属�?�る�?��?�を IDE �?��?識�?��?��?��?�。任�?�?��?ファイル拡張�?�?��?�?�ピリオドを 1 �?�付�?�る�?��?��?��?��??�?��?�。区切り文字�?�コンマ�?�空白文字�?�?��?��?��??�?�両方�?��?�。�?��?��?��?��?��?次�?�拡張�?�?��?��?��?�有効�?��?�。
<p><ul><li><tt>.abc,.def</tt>
<li><tt>.abc .def</tt>
<li><tt>abc def</tt>
<li><tt>abc,.def ghi, .wow</tt></ul>
<p>Abc ファイル�?�大文字�?文字を区別�?�る�?��?��?��?�。�??�?�場�?��?�?��?��?ュートリアル�?��?� <i>2 �?��?�</i> MIME タイプ�?<tt>.abc</tt> �?� <tt>.ABC</tt> を指定�?��?��?�。
<li><b>XML �?�ルート�?素。</b>一�?�?��??�?空間を指定�?��?��?XML ファイル�?�種類を�?��?��?��?��?��?��?� XML ファイル�?�種類�?�区別�?��?��?�。多�??�?� XML ファイル�?��?��?�拡張�? (<tt>xml</tt>) を�?�?��?��?��?IDE �?��??�?� XML ルート�?素を使用�?��?� XML ファイルを区別�?��?��?�。�?�ら�?�具体的�?�言�?��?��?IDE �?��??�?空間�?� XML ファイル�?�最�?�?� XML �?素を区別�?��??�?��?�。�?�れを使用�?�る�?��?�?��?��?��?��?JBoss �?備記述�?�?� WebLogic �?備記述�?を区別�?��??�?��?�。�?��?�区別を行�?��?��?JBoss �?備記述�?�?�コンテキストメニュー�?�追加�?��?�メニュー項目�?��?WebLogic �?備記述�?�?�使用�?��??�?��??�?�り�?��?�。例�?��?��?��?��?��?<a href="nbm-palette-api2.html">NetBeans コン�?ー�?ントパレットモジュール�?��?ュートリアル</a>を�?�照�?��?��??�?��?��?�。
</ul></ul>
<p>「次�?��?をクリック�?��?��?�。
<li>「�??�?�?�場所�?パ�?ル�?��?「クラス�??�?�接頭辞�?�?�「<tt>Abc</tt> �?�?�入力�?��?次�?�示�?�よ�?��?��?任�?�?� 16x16 ピクセル�?�画�?ファイルを新�?��?�ファイル�?�種類�?�アイコン�?��?��?��?�照�?��?��?�。
<p align="left"><p><p align="left"><img src="../images/tutorials/filetype/65-filewizard2.png" alt="新�?ファイルウィザード�?�手順 2。">
<p><b>注:</b> 16x16 ピクセル�?�任�?�?�アイコンを使用�?��??�?��?�。必�?�?�応�?��?��?�?��?�アイコン <img src="../images/tutorials/filetype/Datasource.gif" alt="Datasource.gif"> をクリック�?��?�ローカル�?��?存�?��?�?述�?�ウィザード�?�手順�?�指定�?��??�?��?�。
<li>「完了�?をクリック�?��?��?�。
<p><p>「プロジェクト�?ウィンドウ�?�次�?�よ�?��?��?�り�?��?�。
<p><p align="left"><img src="../images/tutorials/filetype/65-projectswindow2.png" alt="プロジェクト�?�最終ウィンドウ。"></ol>
<p>新�?��??生�?�?�れ�?��?�ファイル�?��?��?��?�簡�?��?�説明�?��?��?�。
<ul>
<li><b>AbcDataObject.java。</b><tt>FileObject</tt> をラップ�?��?��?�。DataObjects �?� DataLoaders �?�よ�?��?�生�?�?�れ�?��?�。詳細�?��?��?��?��?��?<a href="http://wiki.netbeans.org/wiki/view/DevFaqDataObject">What is a DataObject?</a> を�?�照�?��?��??�?��?��?�。
<li><b>AbcResolver.xml。</b><tt>.abc</tt> �?�よ�?� <tt>.ABC</tt> �?�拡張�?を MIME タイプ�?�マップ�?��?��?�。<tt>AbcDataLoader</tt> �?� MIME タイプ�?��?�を�?識�?��?ファイル拡張�?�?��?��?��?��?��?識�?��?��?�ん。
<li><b>AbcTemplate.abc。</b>「新�?ファイル�?ダイアログ�?�新�?��?�テンプレート�?��?��?�インストール�?�れるよ�?��?��?<tt>layer.xml</tt> �?�登録�?�れ�?��?�るファイルテンプレート�?�基盤を�??供�?��?��?�。
<li><b>AbcDataObjectTest.java。</b><tt>DataObject</tt> �?� JUnit テストクラス。
</ul>
</p>
<p><tt>layer.xml</tt> ファイル�?��?次�?�よ�?��?�表示�?�れ�?��?�。
<pre>&lt;folder name=&quot;Loaders&quot;&gt;
&lt;folder name=&quot;text&quot;&gt;
&lt;folder name=&quot;x-abc&quot;&gt;
&lt;folder name=&quot;Actions&quot;&gt;
&lt;file name=&quot;org-myorg-abcfiletype-MyAction.shadow&quot;&gt;
&lt;attr name=&quot;originalFile&quot; stringvalue=&quot;Actions/Edit/org-myorg-abcfiletype-MyAction.instance&quot;/&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;600&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;org-openide-actions-CopyAction.instance&quot;&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;100&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;org-openide-actions-CutAction.instance&quot;&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;200&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;org-openide-actions-DeleteAction.instance&quot;&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;300&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;org-openide-actions-FileSystemAction.instance&quot;&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;400&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;org-openide-actions-OpenAction.instance&quot;&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;500&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;org-openide-actions-PropertiesAction.instance&quot;&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;700&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;org-openide-actions-RenameAction.instance&quot;&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;800&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;org-openide-actions-SaveAsTemplateAction.instance&quot;&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;900&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;org-openide-actions-ToolsAction.instance&quot;&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;1000&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;sep-1.instance&quot;&gt;
&lt;attr name=&quot;instanceClass&quot; stringvalue=&quot;javax.swing.JSeparator&quot;/&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;1100&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;sep-2.instance&quot;&gt;
&lt;attr name=&quot;instanceClass&quot; stringvalue=&quot;javax.swing.JSeparator&quot;/&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;1200&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;sep-3.instance&quot;&gt;
&lt;attr name=&quot;instanceClass&quot; stringvalue=&quot;javax.swing.JSeparator&quot;/&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;1300&quot;/&gt;
&lt;/file&gt;
&lt;file name=&quot;sep-4.instance&quot;&gt;
&lt;attr name=&quot;instanceClass&quot; stringvalue=&quot;javax.swing.JSeparator&quot;/&gt;
&lt;attr name=&quot;position&quot; intvalue=&quot;1400&quot;/&gt;
&lt;/file&gt;
&lt;/folder&gt;
&lt;folder name=&quot;Factories&quot;&gt;
&lt;file name=&quot;AbcDataLoader.instance&quot;&gt;
&lt;attr name=&quot;SystemFileSystem.icon&quot; urlvalue=&quot;nbresloc:/org/myorg/abcfiletype/Datasource.gif&quot;/&gt;
&lt;attr name=&quot;dataObjectClass&quot; stringvalue=&quot;org.myorg.abcfiletype.AbcDataObject&quot;/&gt;
&lt;attr name=&quot;instanceCreate&quot; methodvalue=&quot;org.openide.loaders.DataLoaderPool.factory&quot;/&gt;
&lt;attr name=&quot;mimeType&quot; stringvalue=&quot;text/x-abc&quot;/&gt;
&lt;/file&gt;
&lt;/folder&gt;
&lt;/folder&gt;
&lt;/folder&gt;
&lt;/folder&gt;</pre>
<br />
<!-- ======================================================================================= -->
<h2><a name="install"></a>インストール�?�よ�?�機能�?�動作確�?</h2>
<p>次�?��?モジュールをインストール�?��?�?�れ�?��?��?�作�?�?��?�基本機能を使用�?��?��?�。IDE �?��?Ant 構築スクリプトを使用�?��?�モジュールを構築�?�よ�?�インストール�?��?��?�。構築スクリプト�?��?プロジェクトを作�?�?�る�?��??�?�作�?�?�れ�?��?�。</p>
<div class="indent">
<ol>
<li>「プロジェクト�?ウィンドウ�?��?<tt>Abc File Type</tt> プロジェクトを�?�クリック�?��?「実行�?を�?�択�?��?��?�。
<p><p>IDE �?�新�?��?�インスタンス�?�起動�?��?�??れ�?�モジュール�?�インストール�?�れ�?��?�。
<li>「新�?プロジェクト�?ダイアログ (Ctrl-Shift-N) を使用�?��?��?任�?�?�種類�?�アプリケーションを IDE �?�作�?�?��?��?�。
<li>アプリケーションノードを�?�クリック�?��?「新�?�?&gt;「�??�?�他�?を�?�択�?��?��?�。「�??�?�他�?カテゴリ�?��?新�?��?�ファイル�?�種類を�?作�?�る�?��?�?�テンプレートを使用�?��??�?��?�。
<p><p align="left"><img border="1" src="../images/tutorials/filetype/60-action4.png" alt="ダミーテンプレート。"></p>
<p>ウィザードを完了�?�る�?�テンプレート�?�作�?�?�れ�?��?�。�?��?�テンプレートを使用�?��?��?特定�?�ファイル�?�種類�?�ユーザー�?�作業を開始�?��??�?��?�。</p>
<p class="tips">�?��?�テンプレートを使用�?��?�デフォルト�?�コードを�??供�?�る場�?��?��?「新�?ファイル�?�種類�?ウィザード�?�作�?�?�れ�?� <tt>AbcTemplate.abc</tt> ファイル�?��??�?�コードを追加�?��?��?�。
</ol>
</div>
<br />
<!-- ===================================================================================== -->
<h2><a name="adding"></a>Abc ファイル�?�機能�?�作�?</h2>
<p>�?�れ�?��?NetBeans プラットフォーム�?��?Abc ファイル�?��?��?��?�種類�?��?��?��?��?�ファイルを区別�?��??るよ�?��?��?�り�?��?��?�。次�?��?�?�れら�?�種類�?�ファイル�?�特有�?�機能を追加�?��?��?�。�?��?�節�?��?��?「プロジェクト�?ウィンドウ�?��?��?�エクスプローラウィンドウ�?��?ファイル�?�ノードを�?�クリック�?��?�コンテキストメニュー�?�メニュー項目を追加�?��?��?�。�?��?��?ファイルをエディタ�?��?��?��??ウィンドウ�?�開�?�るよ�?��?��?��?��?�。
<div class="indent">
<h3 class="tutorial"><a name="action"></a>アクション�?�追加</h3>
<p>�?��?�サブセクション�?��?��?「新�?アクション�?ウィザードを使用�?��?��?ファイル�?�種類�?�アクションを実行�?�る Java クラスを作�?�?��?��?�。�?��?�ウィザード�?��?��?エクスプローラウィンドウ�?��?�るファイル�?�種類�?�ノード�?��?�?�クリック�?�コンテキストメニュー�?�ら呼�?�出�?��?��??るよ�?��?��?クラスを <tt>layer.xml</tt> ファイル�?�登録�?��?��?�。
<ol>
<li>プロジェクトノードを�?�クリック�?��?「新�?�?&gt;「アクション�?を�?�択�?��?��?�。</li>
<li>「アクション�?�種類�?パ�?ル�?��?「�?�件付�??�?�有効�?をクリック�?��?��?�。次�?�示�?�よ�?��?��?�?�?�「新�?ファイル�?�種類�?ウィザード�?�生�?�?��?�データオブジェクト�?��??�? <tt>AbcDataObject</tt> を入力�?��?��?�。
<p><p align="left"><img border="1" src="../images/tutorials/filetype/60-action1.png" alt="新�?アクションウィザード�?�手順 1。">
<p>「次�?��?をクリック�?��?��?�。
<li>「GUI 登録�?パ�?ル�?��?「カテゴリ�?ドロップダウンリスト�?�ら「編集�?カテゴリを�?�択�?��?��?�。「カテゴリ�?ドロップダウンリスト�?��?IDE �?�キーボードショートカットエディタ�?�アクション�?�表示�?�れる場所を制御�?��?��?�。
<p><p>次�?��?「大域メニュー項目�?を�?�択解除�?��?�「ファイル�?�種類�?�メニュー項目�?を�?�択�?��?��?�。「内容�?�種類�?ドロップダウンリスト�?��?次�?�示�?�よ�?��?��?「新�?ファイル�?�種類�?ウィザード�?��?�?�指定�?��?� MIME タイプを�?�択�?��?��?�。
<p align="left"><p><p align="left"><img border="1" src="../images/tutorials/filetype/60-action2.png" alt="新�?アクションウィザード�?�手順 2。">
<p>メニュー項目�?��?置�?�設定�?�能�?��?�??�?�メニュー項目を�?後�?�項目�?�ら離�?��?��?��?��?��??�?��?�。「次�?��?をクリック�?��?��?�。
<li>「�??�?�?�場所�?パ�?ル�?��?「クラス�??�?�?�「<tt>MyAction</tt>�?�?�入力�?��?「表示�??�?�?�「<tt>MyAction</tt>�?�?�入力�?��?��?�。コンテキストメニュー�?��?�るメニュー項目�?��?��?アイコン�?�表示�?�れ�?��?�ん。�?��?��?��?��?��?「完了�?をクリック�?�る�?� <tt>org.myorg.abcfiletype</tt> パッケージ�?� <tt>MyAction.java</tt> �?�追加�?�れ�?��?�。
<li>ソースエディタ�?��?アクション�?� <tt>performAction</tt> メソッド�?��?��??�?��?��?�コードを追加�?��?��?�。
<pre class="examplecode">protected void performAction(Node[] activatedNodes) {
AbcDataObject abcDataObject = activatedNodes[0].getLookup().lookup(AbcDataObject.class);
FileObject f = abcDataObject.getPrimaryFile();
String displayName = FileUtil.getFileDisplayName(f);
String msg = &quot;I am &quot; + displayName + &quot;. Hear me roar!&quot;;
NotifyDescriptor nd = new NotifyDescriptor.Message(msg);
DialogDisplayer.getDefault().notify(nd);
}</pre>
<p>Ctrl-Shift-I キーを押�?��?��?�。IDE �?�よ�?��?��?イン�?ート文�?�クラス�?�先頭�?�自動�?�追加�?�れ�?��?�。</p>
<p class="tips">一部�?�コード�?��?��?�?��?�赤�?�下線�?�付�?��?��?��?��?�。�?�れ�?��?クラスパス�?�必�?�?�パッケージ�?��?��?��?��?��?��?��?��?�を示�?��?��?��?��?�。プロジェクトノードを�?�クリック�?��?�「プロパティー�?を�?�択�?��?「プロジェクトプロパティー�?ダイアログ�?�「ライブラリ�?をクリック�?��?��?�。「ライブラリ�?区画�?�上部�?��?�る「追加�?をクリック�?��?「ダイアログ API�?を追加�?��?��?�。</p>
<p><tt>MyAction.java</tt> クラス�?��?も�?�一度 Ctrl-Shift-I キーを押�?��?��?�。 IDE �?�ダイアログ API �?�必�?�?�パッケージを検出�?��?��?��?�?赤�?�下線�?�消�?��?��?�。</p>
<li>「�?�?�?�ファイル�?ノード�?��?「XML レイヤー�?を展開�?��?��?�。「<tt>&lt;�?��?�レイヤー&gt;</tt>�?�?�「<tt>&lt;コンテキスト内�?��?��?�レイヤー&gt;</tt>�?�?� 2 �?��?�ノード�?��?�??れら�?�サブノード�?��?<a href="https://platform.netbeans.org/tutorials/nbm-glossary.html">System ファイルシステム</a>ブラウザを構�?�?��?��?�。「<tt>&lt;�?��?�レイヤー&gt;</tt>�?�?「<tt>Loaders</tt>�?を順�?�展開�?��?�?�?�作�?�?��?�「<tt>Action</tt>�?�?�表示�?�れる�?��?�ノードを展開�?��?��?�。
<li><tt>My Action</tt> をドラッグ&ドロップ�?�る�?��?次�?�示�?�よ�?��?��?<tt>開�??</tt>アクション�?�下�?�表示�?�れ�?��?�。
<p align="left"><p><p align="left"><img border="1" src="../images/tutorials/filetype/60-action3.png" alt="System ファイルシステムブラウザ。">
<p>最後�?� 2 �?��?�手順�?�ら分�?�る�?��?�り�?System ファイルシステムブラウザ�?��?System ファイルシステム�?�登録�?�れ�?��?�る項目�?�順�?を�?��?�や�??�?編�?�?�る�?��?�使用�?��??�?��?�。
<li>�?�?�節�?�実行�?��?�よ�?��?��?モジュールを�?実行�?��?��?�。
<li>�?�?�節�?�示�?��?�テンプレートを使用�?��?� ABC ファイルを作�?�?��?「プロジェクト�?ウィンドウや「�?�気�?�入り�?ウィンドウ�?��?��?�?��?�れ�?��?�エクスプローラビュー�?��??�?�ファイル�?�ノードを�?�クリック�?��?��?�。
<p><p>Abc ファイル�?��?��?モジュール�?�割り当�?��?�アイコン�?��?�?�クリック�?�コンテキストメニュー�?�ら使用�?��??る�?<tt>layer.xml</tt> ファイル�?�定義�?�れ�?��?�るアクション�?�リスト�?��?�り�?��?�。
<p><p align="left"><img border="1" src="../images/tutorials/filetype/60-dummytemplate.png" alt="プロジェクト�?�最終ウィンドウ。">
<li>新�?メニュー項目を�?�択�?�る�?��?Abc ファイル�?��??�?�?�場所�?�次�?�よ�?��?�表示�?�れ�?��?�。
<p><p align="left"><img border="1" src="../images/tutorials/filetype/60-information.png" alt="情報。">
</ol>
<p>特定�?�種類�?�ファイル�?�コンテキストメニュー�?�表示�?�れる新�?��?�アクションを�?「プロジェクト�?ウィンドウ�?「ファイル�?ウィンドウ�?�?��?��?�「�?�気�?�入り�?ウィンドウ�?�作�?�?�る方法�?��?��?��?�学習�?��?��?��?�。</p>
<h3 class="tutorial"><a name="topcomponent"></a>ファイルをウィンドウ�?�開�??</h3>
<p>デフォルト�?��?��?�?��?��?ュートリアル�?�定義�?��?�種類�?�ファイルを開�??�?��?�??�?�ファイル�?�基本�?�エディタ�?�開�??�?��?�。�?��?��?��?ファイル�?�視覚表�?�を作�?�?��?��?�場�?��?��?�り�?��?�。ユーザー�?�ウィジェットをドラッグ�?��?�視覚表�?��?�ドロップ�?��?��?�。�?��?�よ�?��?�ユーザーインタフェースを作�?�?�る最�?�?�手順�?��?��?��?ユーザー�?�ファイルをウィンドウ�?�開�??�?��?�。�?��?�サブセクション�?��??�?�方法を説明�?��?��?�。
<ol>
<li>プロジェクトノードを�?�クリック�?��?「新�?�?&gt;「ウィンドウコン�?ー�?ント�?を�?�択�?��?��?�。次�?�示�?�よ�?��?��?「ウィンドウ�?��?置�?�?�「editor�?�?��?「アプリケーション�?�起動時�?�開�??�?を設定�?��?��?�。
<p><p><p align="left"><img src="../images/tutorials/filetype/65-topc-1.png" alt="新�?アクションウィザード�?�手順 1。">
<li>「次�?��?をクリック�?��?「クラス�??�?�接頭辞�?�?�「Abc�?�?�入力�?��?��?�。
<p><p><p align="left"><img src="../images/tutorials/filetype/65-topc-2.png" alt="新�?アクションウィザード�?�手順 1。"></p>
<p>「完了�?をクリック�?��?��?�。</p>
</li>
<li><tt>DataObject</tt> コンストラクタを次�?�よ�?��?�変更�?��?DataEditorSupport �?�代�?り�?� <tt><a href="http://bits.netbeans.org/dev/javadoc/org-openide-loaders/org/openide/loaders/OpenSupport.html">OpenSupport</a></tt> を使用�?�るよ�?��?� <tt>DataObject</tt> を変更�?��?��?�。
<p><pre>public AbcDataObject(FileObject pf, MultiFileLoader loader)
throws DataObjectExistsException, IOException {
super(pf, loader);
CookieSet cookies = getCookieSet();
<b>//cookies.add((Node.Cookie) DataEditorSupport.create(this, getPrimaryEntry(), cookies));
cookies.add((Node.Cookie) new AbcOpenSupport(getPrimaryEntry()));</b>
}</pre>
<li>次�?� <tt><a href="http://bits.netbeans.org/dev/javadoc/org-openide-loaders/org/openide/loaders/OpenSupport.html">OpenSupport</a> クラスを作�?�?��?��?�。</tt>
<p><pre>class AbcOpenSupport extends OpenSupport implements OpenCookie, CloseCookie {
public AbcOpenSupport(AbcDataObject.Entry entry) {
super(entry);
}
protected CloneableTopComponent createCloneableTopComponent() {
AbcDataObject dobj = (AbcDataObject) entry.getDataObject();
AbcTopComponent tc = new AbcTopComponent();
tc.setDisplayName(dobj.getName());
return tc;
}
}</pre>
<p class="tips">TopComponent を変更�?��?��?TopComponent �?�代�?り�?� CloneableTopComponent を拡張�?��?��?�。TopComponent �?�クラス修飾�?を設定�?��?�??�?�コンストラクタ�?�修飾�?を private �?��?��?��?? public �?�設定�?��?��?�。
</ol>
<p>モジュールを�?実行�?�る�?��?次�?� Abc ファイルを開�??�?��??�?��?<tt>OpenSupport</tt> クラス�?�ファイルを開�??処�?�を行�?��?��?�。�?��?��?��?��?<tt>DataEditorSupport</tt> �?��??供�?�る基本エディタ�?�代�?り�?� <tt>TopComponent</tt> �?�ファイル�?�開�?�れ�?��?�。
<p><p align="left"><img src="../images/tutorials/filetype/65-topc-3.png" alt="新�?アクションウィザード�?�手順 1。"></p>
<p class="tips"><a href="https://platform.netbeans.org/tutorials/nbm-visual_library.html">NetBeans ビジュアルライブラリ�?��?ュートリアル</a>�?��?TopComponent �?�詳細を開発�?�る方法�?�例�?�説明�?�れ�?��?��?��?�。�?��?��?��?��?�?��?��?ュートリアル�?�定義�?�れ�?�ファイル�?�種類�?�対応�?�るファイル�?�内容を視覚的�?�表示�?��?��?�。</p>
<br />
<!-- ======================================================================================= -->
<h3><a name="multiview"></a>マル�?ビューウィンドウ�?�作�?</h3>
<p>ファイルをウィンドウ�?�開�??�?��?��?��?��??るよ�?��?��?��?��?��?��?��?ウィンドウを少�?�変�?��?��?��?��?�。マル�?ビューウィンドウを作�?�?��?��?�。通常�?マル�?ビューウィンドウ�?�最�?�?�タブ�?�ファイルを視覚的�?�表示�?��?2 番目�?�タブ�?�ソースビューを表示�?��?��?�。3 �?�以上�?�タブを作�?�?��?��?�??れ�?�れ�?�タブ�?��?開�?��?�ファイル�?�詳細を表示�?�る�?��?�も�?��??�?��?�。
<ol>
<li>プロジェクトノードを�?�クリック�?��?「プロパティー�?を�?�択�?��?��?�。「プロジェクトプロパティー�?ダイアログ�?�「ライブラリ�?を�?�択�?��?「追加�?をクリック�?��?��?�。「マル�?ビューウィンドウ�?�?��?存関係を設定�?��?��?�。「了解�?をクリック�?��?�?度「了解�?をクリック�?��?��?「プロジェクトプロパティー�?ダイアログを終了�?��?��?�。
<li><p>マル�?ビューウィンドウ�?�作�?�?�る�?�タブ�?��?��?��?��?<tt>MultiViewDescription</tt> �?�よ�?� <tt>Serializable</tt> を実装�?�るクラスを作�?�?��?��?�。</p><p>�?��?��?ュートリアル�?��?��?�?��?��?指定�?�れ�?�クラスを実装�?�る <tt>AbcMultiviewDescription1</tt> �?��?��?�クラスを作�?�?��?��?�。</p>
<pre>public class AbcMultiviewDescription1 implements MultiViewDescription, Serializable {
public int getPersistenceType() {
throw new UnsupportedOperationException(&quot;Not supported yet.&quot;);
}
public String getDisplayName() {
throw new UnsupportedOperationException(&quot;Not supported yet.&quot;);
}
public Image getIcon() {
throw new UnsupportedOperationException(&quot;Not supported yet.&quot;);
}
public HelpCtx getHelpCtx() {
throw new UnsupportedOperationException(&quot;Not supported yet.&quot;);
}
public String preferredID() {
throw new UnsupportedOperationException(&quot;Not supported yet.&quot;);
}
public MultiViewElement createElement() {
throw new UnsupportedOperationException(&quot;Not supported yet.&quot;);
}
}</pre>
<p class="tips">上�?� <tt>AbcMultiviewDescription1</tt> クラス�?��?��?<tt>createElement()</tt> メソッド�?� MultiViewElement を返�?��?��?�。�?��?��?�返�?��?��?��?��?� <tt>TopComponent</tt> �?��?�。�?�れ�?��?��?��?��?�次�?�手順�?�実行�?��?��?�。</p>
<li>クラス�?�署�??を書�??直�?��?��?�。�?�?�手順�?��?説明�?��?��?�?�マル�?ビュー�?素を�??供�?�る�?��?��?<tt>TopComponent</tt> �?�代�?り�?� <tt>JPanel</tt> を拡張�?��?<tt>MultiViewElement</tt> を実装�?�る必�?�?��?�り�?��?�。
<pre>public final class AbcTopComponent extends JPanel implements MultiViewElement {</pre>
<p><tt>TopComponent</tt> �?��?<tt>findInstance()</tt>�?<tt>getPersistenceType()</tt>�?<tt>writeReplace()</tt>�?�?�よ�?� <tt>preferredID()</tt> �?��?�メソッドを削除 (コメントアウト) �?�る必�?�?��?�り�?��?�。
<li>�?��?��?��?��?必�?�?��?�メソッド�?��?�純�?�実装を�??供�?��?��?�。�?��?��?新�?��?� <tt>JToolbar</tt><tt>TopComponent</tt> クラス�?�最�?�?�定義�?��?��?�。
<pre>private JToolBar toolbar = new JToolBar();</pre>
<p>次�?��?メソッドを実装�?��?��?�。
<pre> public JComponent getVisualRepresentation() {
return this;
}
public JComponent getToolbarRepresentation() {
return toolbar;
}
public void setMultiViewCallback(MultiViewElementCallback arg0) {
}
public CloseOperationState canCloseElement() {
return null;
}
public Action[] getActions() {
return new Action[]{};
}
public Lookup getLookup() {
return Lookups.singleton(this);
}
public void componentShowing() {
}
public void componentHidden() {
}
public void componentActivated() {
}
public void componentDeactivated() {
}
public UndoRedo getUndoRedo() {
return UndoRedo.NONE;
}</pre>
<li>�?�れ�?��?次�?�よ�?��?� <tt>AbcMultiviewDescription1</tt> を�?定義�?��??�?��?�。
<pre>public class AbcMultiviewDescription1 implements MultiViewDescription, Serializable {
public int getPersistenceType() {
return TopComponent.PERSISTENCE_ALWAYS;
}
public String getDisplayName() {
return &quot;Tab 1&quot;;
}
public Image getIcon() {
return ImageUtilities.loadImage(&quot;/org/myorg/abcfiletype/Datasource.gif&quot;);
}
public HelpCtx getHelpCtx() {
return null;
}
public String preferredID() {
return &quot;AbcMultiviewDescription1&quot;;
}
public MultiViewElement createElement() {
return new AbcTopComponent();
}
}</pre>
<li><tt>OpenSupport</tt> クラス�?� <tt>createCloneableTopComponent</tt> メソッドを変更�?��?��?<tt>TopComponent</tt> を先�?��?�作�?�?��?� <tt>MultiViewDescription</tt> クラス�?�開�??よ�?��?��?��?��?�。
<pre>protected CloneableTopComponent createCloneableTopComponent() {
// マル�?ビュー記述�?�?��?列を作�?�?��?��?�:
AbcMultiviewDescription1 firstTab = new AbcMultiviewDescription1();
MultiViewDescription[] descriptionArray = { firstTab };
// マル�?ビューウィンドウを作�?�?��?��?�:
CloneableTopComponent tc = MultiViewFactory.createCloneableMultiView(descriptionArray, firstTab, null);
tc.setDisplayName(entry.getDataObject().getName());
return tc;
}</pre>
<p class="tips"><tt>MultiViewFactory.createCloneableMultiView</tt> �?� 2 番目�?�引数�?��?デフォルト�?�開�??タブを決定�?��?��?�。�?��?��?��?��?<tt>AbcMultiViewDescription1</tt> �?�定義�?�れるタブ <tt>firstTab</tt> �?��?�り�?��?�。</p>
<li><p>�?度�?ファイルをインストール�?��?�開�??�?��?�。�?�れ�?��?1 �?��?�タブを�?�?�マル�?ビューウィンドウ�?��?��??�?��?��?�。</p>
<p><img border="1" src="../images/tutorials/filetype/65-mvdeployed.png" alt="�?備�?�れ�?�マル�?ビュー">
</ol>
<p>マル�?ビューウィンドウ�?��?��?�一�?�タブ�?��?�り�?��?�。追加�?�るタブ�?��?��?��?新�?��?� <tt>MultiviewDescription</tt> クラスを新�?��?� <tt>JPanel</tt> �?��?�も�?�作�?�?��?�?�?�表示�?��?��?��?�り�?<tt>OpenSupport</tt> 拡張クラス内�?� <tt>MultiViewDescription</tt> クラスをインスタンス化�?��?��?�。
</div>
<!-- ======================================================================================= -->
<h2><a name="share"></a>共有�?�能�?�モジュール�?イナリ�?�作�?</h2>
<p>モジュール�?�完了�?��?��?��?��?�?��?��?�人�?��??�?�モジュールを使用�?��?�る�?��?��?��?��??�?��?�。�??�?��?��?�?��?��?�?イナリ�?�「NBM�? (NetBeans モジュール) ファイルを作�?�?��?�??れを�?布�?�る必�?�?��?�り�?��?�。
<div class="indent">
<ol>
<li>「プロジェクト�?ウィンドウ�?��?<tt>Abc File Type</tt> プロジェクトを�?�クリック�?��?「NBM を作�?�?を�?�択�?��?��?�。
<p><p>NBM ファイル�?�作�?�?�れ�?��?�。�?�れ�?�「ファイル�?ウィンドウ (Ctrl-2) �?�確�?�?��??�?��?�。
<p><p align="left"><img border="1" src="../images/tutorials/filetype/60-shareable-nbm.png" alt="共有�?�能�?� NBM。">
<li>�?��?��?��?��?<a href="http://plugins.netbeans.org/PluginPortal/">NetBeans プラグイン�?ータル</a>を通�?��?��?�?��?��?�人�?��??�?�ファイルを使用�?��??るよ�?��?��?��?��?�。�?�信者�?�「プラグインマ�?ージャー�?(「ツール�?&gt;「プラグイン�?) を使用�?��?��?�??れをインストール�?��?��?�。
</ol>
</div>
<!-- ======================================================================================== -->
<br>
<div class="feedback-box"><a href="https://netbeans.org/about/contact_form.html?to=3&amp;subject=Feedback:%20File%20Type%20Module%20Tutorial">�?��?見を�?�寄�?��??�?��?��?�</a></div>
<br style="clear:both;" />
<!-- ======================================================================================== -->
<h2><a name="nextsteps"></a>次�?�手順</h2>
<p>NetBeans モジュール�?�作�?�?�開発�?�詳細�?��?��?��?��?��?次�?�リソースを�?�照�?��?��??�?��?��?�。
<ul>
<li><a href="https://platform.netbeans.org/index.html">NetBeans プラットフォーム�?�ホームページ</a></li>
<li><a href="https://netbeans.org/download/dev/javadoc/">NetBeans API �?�一覧 (�?�行�?�開発�?ージョン)</a></li>
<li><a href="https://netbeans.org/kb/trails/platform_ja.html">�??�?�他�?�関連�?ュートリアル</a></li></ul>
</p>
<!-- ======================================================================================== -->
<!--
<h2><a name="version"></a>Versioning </h2>
<p>
<table width="76%" >
<tbody>
<tr>
<td>
<div align="left"><b>Version</b></div>
</td>
<td>
<div align="left"><b>Date</b></div>
</td>
<td>
<div align="left"><b>Changes</b></div>
</td>
</tr>
<tr>
<td>
1
</td>
<td>
25 August 2005
</td>
<td>
<ul><li>Initial version.
<li>To do:
<ul><li>Add post-creation customizations (i.e., the "Extending Support for the New File Type" section).
<li>Explain what the generated files are for (placeholders currently).
<li>Explain the layer file's entries.
<li>Explain the first File Type panel (placeholders currently).
<li>Maybe create a separate tutorial for recognizing XML files.</ul></ul>
</td>
</tr>
<tr>
<td>
2
</td>
<td>
23 September 2005
</td>
<td>
<ul><li>A lot of info added from the FAQ and added the Action wizard and System Filesystem Browser.
<li>To do:
<ul><li>Explain <tt>LoaderBeanInfo.java</tt> and <tt>Resolver.xml</tt> (one line each)
<li>Maybe create a separate tutorial for recognizing XML files.
<li>Using Tomcat GIF maybe not good idea.
<li>Maybe the action should do something useful.
<li>Maybe direct links to FAQ not good idea.
<li>Probably more needed on <tt>layer.xml</tt> file.
<li>Maybe other useful apisupport functionality could be added to this scenario.
<li>More info needed on MIME types.
<li>The introductory paragraphs should be illustrated with a graphic. A diagram to
show relationship between node, dataobject, fileobject, dataloader, etc.</ul></ul>
</td>
</tr>
<tr>
<td>
3
</td>
<td>
28 September 2005
</td>
<td>
<ul><li>Integrated comments from Jesse Glick.
<li>To do:
<ul> <li>More info needed on MIME types.
<li>The introductory paragraphs should be illustrated with a graphic. A diagram to
show relationship between node, dataobject, fileobject, dataloader, etc.
<li>Many Javadoc links to be added (also for <tt>performAction</tt>.
<li>Info on cookies, cookie actions, cookie classes needed.
<li>Action ended up in text-html even though I chose my own mime type.
<li>Need to explain or link to explanation for instance, shadow, etc.
<li>Platform Manager needs to be mentioned in the context of installing
in target platform.
<li>Show how to add properties to the property sheet.</ul></ul>
</td>
</tr>
<tr>
<td>
4
</td>
<td>
4 October 2005
</td>
<td>
<ul><li>Added two diagrams in the introductory paragraphs, from Tim Boudreau's JavaOne presentation.
<li>To do:
<ul> <li>More info needed on MIME types.
<li>Many Javadoc links to be added (also for <tt>performAction</tt>).
<li>Need to create section near the start: "Related FAQs":
<ul><li>Info on cookies, cookie actions, cookie classes needed.
<li>Need to explain or link to explanation for instance, shadow, etc.
<li>DataLoader, DataObject, etc.</ul>
<li>Platform Manager needs to be mentioned in the context of installing
in target platform.
<li>Show how to add properties to the property sheet.
<li>Mention the dummy template that you get, how to modify it,
and how to set the description in the New File wizard.</ul></ul>
</td>
</tr>
<tr>
<td>
4
</td>
<td>
4 November 2005
</td>
<td>
<ul><li>Added downloadable source code, new 'Installing the Sample' section, and link to
Syntax Highlighting tutorial at the end.
<li>To do:
<ul> <li>Same items as on 4 October still to be done.</ul>
</td>
</tr>
<tr>
<td>
5
</td>
<td>
29 November 2005
</td>
<td>
<ul><li>Added links to brand new Component Palette tutorial.
<li>To do:
<ul> <li>Same items as on 4 October still to be done.</ul>
</td>
</tr>
<tr>
<td>
6
</td>
<td>
21 April 2006
</td>
<td>
<ul><li>Changed the title from "DataLoader Module Tutorial" to "Recognizing a File Type Tutorial".
<li>To do:
<ul> <li>Same items as on 4 October still to be done.</ul>
</td>
</tr>
<tr>
<td>
7
</td>
<td>
17 November 2007
</td>
<td>
<ul><li>Updated the whole tutorial to 6.0, replaced all screenshots, and
now [because the 6.0 IDE already provides support for manifest files], the
tutorial focuses on imaginary Abc files.
<li>To do:
<ul> <li>Need to replace the download, which is the same as before, dealing with manifest files.
<li>Same items as on 4 October still to be done.
<li>Added OpenSupport into TopComponent, with a reference to Visual Library.</ul>
<li>Changed title to File Type Integration Tutorial
<li>Tweaked several places throughout tutorial, for 6.0
</td>
</tr>
<tr>
<td>
8
</td>
<td>
15 April 2008
</td>
<td>
Updated the styles (badge, table of contents, required software table)
to the new format.
</td>
</tr>
<tr>
<td>
9
</td>
<td>
16 July 2008
</td>
<td>
Created new version for 6.5, because of changes to the
way file type recognition is done in that release. To do:
<ul>
<li>6.5-specific badge
<li>Required software table
<li>Search for DataNode, BeanInfo, DataLoader and reword
<li>Check screenshots
<li>Make sure all the sections work as before
</ul>
</td>
</tr>
<tr>
<td>
10
</td>
<td>
4 April 2009
</td>
<td>
Worked through everything and added the multiview section.
</td>
</tr>
</tbody>
</table>
-->
</body>
</html>