User Tools

Site Tools


dev-guide:automatic-imports

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dev-guide:automatic-imports [2024/12/04 13:58] – created gaetandev-guide:automatic-imports [2024/12/04 14:20] (current) gaetan
Line 3: Line 3:
 Currently only the rgg filter is modified, thus, all ''.rgg'' files are compiled with additional default imports.  Currently only the rgg filter is modified, thus, all ''.rgg'' files are compiled with additional default imports. 
  
-The type of default imports are : +The paths of default imports are : 
-  * ''/io/filter/rgg/packageimports'': it does the same as __import pckname.*__, where pckname is the name of a java package (e.g. java.lang). +  * ''/io/filter/rgg/packageimports'': equivalent to //import pckname.*//, where pckname is the name of a java package (e.g. java.lang). 
 +  * ''/io/filter/rgg/singletypeimports'': equivalent to //import pck.ClassName//, where pck.ClassName represent the complete name of a type (e.g. de.grogra.graph.impl.Node). 
 +  * ''/io/filter/rgg/statictypeimports'': equivalent to //import static pck.ClassName//.
  
 +**This page only list imports from the RGG plugin. Other plugin can includes default import by adding them in the registry under the paths above.**
  
 ==== Package imports ==== ==== Package imports ====
- <var name="java.lang"/> +  * java.lang 
-            <var name="de.grogra.xl.lang"/> +  de.grogra.xl.lang 
-            <var name="de.grogra.annotation"/> +  de.grogra.annotation 
-            <var name="de.grogra.rgg"/> +  de.grogra.rgg 
-            <var name="de.grogra.turtle"/> +  de.grogra.turtle 
-            <var name="de.grogra.imp3d.objects"/> +  de.grogra.imp3d.objects 
-            <var name="de.grogra.imp3d.shading"/> +  de.grogra.imp3d.shading 
-            <var name="de.grogra.math"/> +  de.grogra.math 
-            <var name="javax.vecmath"/> +  javax.vecmath 
-            <var name="de.grogra.pf.data"/>+  de.grogra.pf.data 
 + 
 +==== Single type import ==== 
 +  * de.grogra.graph.impl.Node 
 +  * de.grogra.rgg.Attributes 
 +  * de.grogra.rgg.numeric.GraphODE 
 +  * de.grogra.rgg.numeric.Tolerance
  
 +==== Static import ====
 +  * de.grogra.xl.util.Operators
 +  * de.grogra.rgg.Library
 +  * de.grogra.rgg.NumOperators
 +  * de.grogra.vecmath.VecmathOperators
 +  * de.grogra.imp3d.shading.RGBAShader
 +  * de.grogra.pf.ui.ChartPanel
 +  * de.grogra.turtle.TurtleState
 +  * de.grogra.xl.impl.base.Graph
  
  
dev-guide/automatic-imports.1733317124.txt.gz · Last modified: 2024/12/04 13:58 by gaetan