Lines 54-62
Link Here
|
54 |
<ol> |
54 |
<ol> |
55 |
<li> |
55 |
<li> |
56 |
<!-- XXX change links when these are properly published: #43596 --> |
56 |
<!-- XXX change links when these are properly published: #43596 --> |
57 |
<api group="dtd" name="freeform-project-general.xsd" type="export" category="devel" url="http://www.netbeans.org/source/browse/~checkout~/ant/freeform/src/org/netbeans/modules/ant/freeform/resources/freeform-project-general.xsd"> |
57 |
<api group="dtd" name="freeform-project-general.xsd" type="export" category="official" url="http://www.netbeans.org/source/browse/~checkout~/ant/freeform/src/org/netbeans/modules/ant/freeform/resources/freeform-project-general.xsd"> |
58 |
<p> |
58 |
<p> |
59 |
XML schema for the general section of the project type. |
59 |
XML schema for the general section of the project type. Users are allowed |
|
|
60 |
to modify this section by hand and can refer to this schema for available |
61 |
syntax. |
60 |
</p> |
62 |
</p> |
61 |
</api> |
63 |
</api> |
62 |
</li> |
64 |
</li> |
Lines 119-124
Link Here
|
119 |
href="http://projects.netbeans.org/buildsys/design.html#freeform">Architecture |
121 |
href="http://projects.netbeans.org/buildsys/design.html#freeform">Architecture |
120 |
Sketch</a> for justifications of the module. |
122 |
Sketch</a> for justifications of the module. |
121 |
</p> |
123 |
</p> |
|
|
124 |
<p> |
125 |
The SPI is used to plug additional functionality provided by domain specific |
126 |
extensions into freeform project type. The base freeform project defines |
127 |
attributes of project such as its location or Ant script and defines mapping |
128 |
of IDE actions to Ant script targets. Extensions can enhance base project in |
129 |
several ways: |
130 |
</p> |
131 |
<ol> |
132 |
<li> |
133 |
<p> |
134 |
can extend project's lookup. That allows project to provide implementation |
135 |
of domain specific queries, e.g. J2SE extension can plug in implementation |
136 |
of ClasspathProvider. |
137 |
</p> |
138 |
</li> |
139 |
<li> |
140 |
<p> |
141 |
can add UI panel into project's customizer in which user can customize |
142 |
domain specific features |
143 |
</p> |
144 |
</li> |
145 |
<li> |
146 |
<p> |
147 |
can provide new source folder visualization style, e.g. J2SE extension |
148 |
can register "package" style which presents source folder as Java Packages |
149 |
</p> |
150 |
</li> |
151 |
<li> |
152 |
<p> |
153 |
can list extra build targets to be shown in target mapping customizer, |
154 |
e.g. Web extension may want to enable mapping of Deploy IDE action to |
155 |
a Ant script target |
156 |
</p> |
157 |
</li> |
158 |
</ol> |
159 |
<p> |
160 |
Extensions have access to project's metadata and based on them can decide |
161 |
whether they should enhance freeform project or not. |
162 |
</p> |
122 |
</answer> |
163 |
</answer> |
123 |
|
164 |
|
124 |
|
165 |
|
Lines 281-294
Link Here
|
281 |
<answer id="dep-nb"> |
322 |
<answer id="dep-nb"> |
282 |
<ul> |
323 |
<ul> |
283 |
<li> |
324 |
<li> |
284 |
<api group="java" name="AntModuleAPI" type="import" category="devel"> |
325 |
<api group="java" name="AntModuleAPI" type="import" category="official"> |
285 |
<p> |
326 |
<p> |
286 |
For running Ant targets, finding targets, etc. |
327 |
For running Ant targets, finding targets, etc. |
287 |
</p> |
328 |
</p> |
288 |
</api> |
329 |
</api> |
289 |
</li> |
330 |
</li> |
290 |
<li> |
331 |
<li> |
291 |
<api group="java" name="AntProjectAPI" type="import" category="devel"> |
332 |
<api group="java" name="AntProjectAPI" type="import" category="official"> |
292 |
<p> |
333 |
<p> |
293 |
The SPI is used heavily to implement various queries, evaluate Ant |
334 |
The SPI is used heavily to implement various queries, evaluate Ant |
294 |
properties at development time, etc. |
335 |
properties at development time, etc. |
Lines 296-316
Link Here
|
296 |
</api> |
337 |
</api> |
297 |
</li> |
338 |
</li> |
298 |
<li> |
339 |
<li> |
299 |
<api group="java" name="ProjectAPI" type="import" category="devel"> |
340 |
<api group="java" name="ProjectAPI" type="import" category="official"> |
300 |
<p> |
341 |
<p> |
301 |
Basic project API. |
342 |
Basic project API. |
302 |
</p> |
343 |
</p> |
303 |
</api> |
344 |
</api> |
304 |
</li> |
345 |
</li> |
305 |
<li> |
346 |
<li> |
306 |
<api group="java" name="ProjectUIAPI" type="import" category="devel"> |
347 |
<api group="java" name="ProjectUIAPI" type="import" category="official"> |
307 |
<p> |
348 |
<p> |
308 |
Used to provide the logical view and register the project import wizards. |
349 |
Used to provide the logical view and register the project import wizards. |
309 |
</p> |
350 |
</p> |
310 |
</api> |
351 |
</api> |
311 |
</li> |
352 |
</li> |
312 |
<li> |
353 |
<li> |
313 |
<api group="java" name="GeneralQueriesAPI" type="import" category="devel"> |
354 |
<api group="java" name="GeneralQueriesAPI" type="import" category="official"> |
314 |
<p> |
355 |
<p> |
315 |
For checking file collocation. |
356 |
For checking file collocation. |
316 |
</p> |
357 |
</p> |
Lines 721-727
Link Here
|
721 |
</question> |
762 |
</question> |
722 |
--> |
763 |
--> |
723 |
<answer id="lookup-lookup"> |
764 |
<answer id="lookup-lookup"> |
724 |
<api group="lookup" name="org.netbeans.modules.ant.freeform.spi.ProjectNature" type="export" category="friend"> |
765 |
<api group="lookup" name="org.netbeans.modules.ant.freeform.spi.ProjectNature" |
|
|
766 |
url="@TOP@org/netbeans/modules/ant/freeform/spi/ProjectNature.html" |
767 |
type="export" category="friend"> |
725 |
<p> |
768 |
<p> |
726 |
Project extensions are searched for in global lookup. Order is not |
769 |
Project extensions are searched for in global lookup. Order is not |
727 |
significant. |
770 |
significant. |
Lines 741-749
Link Here
|
741 |
</question> |
784 |
</question> |
742 |
--> |
785 |
--> |
743 |
<answer id="lookup-register"> |
786 |
<answer id="lookup-register"> |
|
|
787 |
<api group="lookup" name="org.netbeans.spi.project.support.ant.AntBasedProjectType" type="import" category="official"> |
744 |
<p> |
788 |
<p> |
745 |
Project type is registered in <code>META-INF/services</code>. |
789 |
Project type is registered in <code>META-INF/services</code>. |
746 |
</p> |
790 |
</p> |
|
|
791 |
</api> |
747 |
</answer> |
792 |
</answer> |
748 |
|
793 |
|
749 |
|
794 |
|