there are still some deprecated classes from JTS, for instance
LineString.clone in es.kosmo.desktop.tools.algorithms.bezierCurve class.
I need to find a way to find all these deprecated classes into the code in
one time
Peppe

Il giorno gio 29 apr 2021 alle ore 06:57 Giuseppe Aruta <
giuseppe.ar...@gmail.com> ha scritto:

> I decided to remove the Jython start up from CAD plugin.
> I added it only  to have an "easy" access to align tools, which are
> available opening a python console, anyhow. I will activate them again or
> find a pure java solution in the future (maybe).
> The new code of Cad plugin is available here, recompiled also substituting
> deprecated JTS classes
> https://sourceforge.net/projects/opensit/files/Openjump/CadTools/
> Peppe
>
> Il giorno mer 28 apr 2021 alle ore 18:15 Giuseppe Aruta <
> giuseppe.ar...@gmail.com> ha scritto:
>
>> I recompiled CAD tools substituting deprecated components with newer JTS
>> 1.8 one.
>> Everything seems to work fine except Python tools.
>> The problem is connected to classes AlignSelected$py.class and
>> UnionSelected$py.class located into OJ\ib/ext/jython.
>> The problem is that we don't have the original code of these classes, or
>> I was not able to find them into OJ repository.
>> I opened AlignSelected$py.class with a Java decompiler and might work to
>> rebuild it but It would be preferred if Larry could provide a copy of the
>> code.
>> Peppe
>>
>> Il giorno mer 28 apr 2021 alle ore 07:11 Giuseppe Aruta <
>> giuseppe.ar...@gmail.com> ha scritto:
>>
>>> Hi Michael,
>>> this is a start of migration of CadTools to JTS 1,18:
>>>
>>> https://sourceforge.net/projects/opensit/files/Openjump/CadTools/
>>>
>>> There are still some issue that I did not solved:
>>> a) Plugin still uses ToolboxPlugIn class which is deprecated
>>> (org.openjump.advancedtools.EditToolboxCADPlugIn)
>>> b) tools use some jts class which seems to be deprecated
>>> (org.locationtech.jts.algorithm.CGAlgorithms)
>>> c) Draw parallel line uses a Udig class
>>> (es.axios.udig.ui.editingtools.precisionparallels.internal.OffsetBuilder)
>>> embedded into CAD plugin.
>>> this class uses deprecated JTS classes which seems not used anymore
>>> (CentralEndpointIntersector). I left the class as it is as I feel that we
>>> can remove it and try to use your implementation in OffsetCurvePlugIn plugin
>>>
>>> Last year I did some modification in CAD plugin:
>>> - I added a dependency to VertexSymbols cadplan plugin:
>>> a) Cad tools can save geometries as Blocks
>>> b) blocks are saved into the same folder of vertexSymbols
>>> c) in the same session of OJ, users can use these blocks as vertex
>>> symbology
>>>
>>> - Cad plugin starts a session of Python, in order to activate all nice
>>> Larry python tools like the  align ones
>>>
>>> Peppe
>>>
>>> Il giorno dom 18 apr 2021 alle ore 22:44 Michaud Michael <
>>> m.michael.mich...@orange.fr> ha scritto:
>>>
>>>> Hi Jumpers,
>>>>
>>>> Some news about the migration :
>>>>
>>>> I have refactored most extensions included in OpenJUMP PLUS and
>>>> included them in the distribution (r4834). The work is still on-going but I
>>>> wanted to let you know so that you can begin to test and report any problem
>>>> (using the list or the github issue tracker) :
>>>>
>>>> https://sourceforge.net/projects/jump-pilot/files/OpenJUMP2_snapshots/
>>>>
>>>> Extensions which are supposed to be included are listed in the readme
>>>> on
>>>>
>>>> https://github.com/openjump-gis/openjump
>>>>
>>>> All of them have been uploaded to openjump-gis group and mavenized.
>>>>
>>>> I want to include some more extensions like color-chooser or
>>>> concave-hull, but for extensions which were not included in OJ-1.16-PLUS,
>>>> maybe I'll wait for someone to ask.
>>>>
>>>> For database, I'd like to avoid maintaining dbquery if the same work
>>>> can be achieved with openjump datastore framework. Maybe jukka or someone
>>>> else know better than me what dbquery can actually achieve which cannot be
>>>> done with the main framework.
>>>>
>>>>
>>>> Michaƫl
>>>> _______________________________________________
>>>> Jump-pilot-devel mailing list
>>>> Jump-pilot-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>>>
>>>
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to