This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 42638
Collapse All | Expand All

(-)arch.xml (-3 / +105 lines)
Lines 22-28 Link Here
22
]>
22
]>
23
23
24
<api-answers
24
<api-answers
25
  question-version="1.24"
25
  question-version="1.29"
26
  author="jglick@netbeans.org"
26
  author="jglick@netbeans.org"
27
>
27
>
28
28
Lines 190-196 Link Here
190
-->
190
-->
191
 <answer id="compat-version">
191
 <answer id="compat-version">
192
  <p>
192
  <p>
193
   The module uses no persistent settings.
193
   The module uses NbPreferences to store the default project encoding. When there is no
194
   default project encoding stored it falls back to UTF-8.
194
  </p>
195
  </p>
195
 </answer>
196
 </answer>
196
197
Lines 239-245 Link Here
239
 <answer id="dep-nb">
240
 <answer id="dep-nb">
240
  <!-- XXX link -->
241
  <!-- XXX link -->
241
  <p>
242
  <p>
242
   Uses the NetBeans Filesystems and Lookup APIs.
243
   Uses the NetBeans Filesystems, Lookup and Preferences APIs.
243
  </p>
244
  </p>
244
 </answer>
245
 </answer>
245
246
Lines 927-931 Link Here
927
  </p>
928
  </p>
928
 </answer>
929
 </answer>
929
930
931
 
932
933
934
935
<!--
936
        <question id="arch-where" when="impl">
937
            Where one can find sources for your module?
938
            <hint>
939
                Please provide link to the CVS web client at
940
                http://www.netbeans.org/download/source_browse.html
941
                or just use tag defaultanswer generate='here'
942
            </hint>
943
        </question>
944
-->
945
 <answer id="arch-where">
946
  <defaultanswer generate='here' />
947
 </answer>
948
949
950
951
<!--
952
        <question id="compat-deprecation" when="init">
953
            How the introduction of your project influences functionality
954
            provided by previous version of the product?
955
            <hint>
956
            If you are planning to deprecate/remove/change any existing APIs,
957
            list them here accompanied with the reason explaining why you
958
            are doing so.
959
            </hint>
960
        </question>
961
-->
962
 <answer id="compat-deprecation">
963
  <p>
964
   Addition of a new API.
965
  </p>
966
 </answer>
967
968
969
970
<!--
971
        <question id="exec-ant-tasks" when="impl">
972
            Do you define or register any ant tasks that other can use?
973
            
974
            <hint>
975
            If you provide an ant task that users can use, you need to be very
976
            careful about its syntax and behaviour, as it most likely forms an
977
	          API for end users and as there is a lot of end users, their reaction
978
            when such API gets broken can be pretty strong.
979
            </hint>
980
        </question>
981
-->
982
 <answer id="exec-ant-tasks">
983
  <p>
984
   No.
985
  </p>
986
 </answer>
987
988
989
990
<!--
991
        <question id="resources-preferences" when="final">
992
            Does your module uses preferences via Preferences API? Does your module use NbPreferences or
993
            or regular JDK Preferences ? Does it read, write or both ? 
994
            Does it share preferences with other modules ? If so, then why ?
995
            <hint>
996
                You may use
997
                    &lt;api type="export" group="preferences"
998
                    name="preference node name" category="private"&gt;
999
                    description of individual keys, where it is used, what it
1000
                    influences, whether the module reads/write it, etc.
1001
                    &lt;/api&gt;
1002
                Due to XML ID restrictions, rather than /org/netbeans/modules/foo give the "name" as org.netbeans.modules.foo.
1003
                Note that if you use NbPreferences this name will then be the same as the code name base of the module.
1004
            </hint>
1005
        </question>
1006
-->
1007
<answer id="resources-preferences">    
1008
  <p>
1009
      The module internally uses <code>NbPreferences</code> to store the default value of encoding of a new project.
1010
      Clients should not access this preferences directly using preferences API but they should use
1011
      the <code>FileEncodingQuery</code> methods.
1012
  </p>
1013
  <api group="preferences" name="org.netbeans.api.queries" type="export" category="private" url="">
1014
      <table>
1015
          <tbody>
1016
              <tr>
1017
                  <th>key</th>
1018
                  <th>description</th>
1019
                  <th>read</th>
1020
                  <th>write</th>
1021
              </tr>
1022
              <tr>
1023
                  <td>default-encoding</td>
1024
                  <td>Default encoding which should be used for new project</td>
1025
                  <td>x</td>
1026
                  <td>x</td>
1027
              </tr>
1028
          </tbody>
1029
      </table>
1030
  </api>
1031
 </answer>
930
1032
931
</api-answers>
1033
</api-answers>

Return to bug 42638